Re: [BLACKBOX] Pointers to Form controls

From: Campbell, Robert (SELEX GALILEO, UK) <Robert.D.Campbell{([at]})nowhere.xy>
Date: Fri, 11 Jul 2008 08:58:44 +0100

----boundary-LibPST-iamunique-35060754_-_-
Content-type: text/plain

Hi

I agree that just to set the label can be done directly by
a Guard.

However, if you really want the pointer, you can pick it up from
"Controls.par" from within your Guard or Noitifier.

Cheers

Robert

>> The normal way would be to set the attribute 'label'
>> in the guard of the button control.
>>
>> - JT
>>
>>
>> ----- Original Message -----
>> From: "Douglas G. Danforth" <danforth{([at]})nowhere.xy
>> To: <BLACKBOX{([at]})nowhere.xy
>> Sent: Friday, July 11, 2008 12:18 AM
>> Subject: [BLACKBOX] Pointers to Form controls
>>
>>
>> > Hi,
>> >
>> > I wish to change the label of a push button dynamically
>> depending upon
>> > an internal state.
>> >
>> > I can do this if I have a pointer to the push button.
>> >
>> > Controls.OpenLink(pushButton, prop);
>> >
>> > But, if the push button was hand created by inserting it
>> into a form
>> > from menu pull downs
>> > then I am up a creek with no paddle.
>> >
>> > The question becomes: How do I get the pointer to a push
>> button inserted
>> > into a form?
>> >
>> > Best regards,
>> >
>> > Doug Danforth
>> >
>> >
>> > ----
>> > To unsubscribe, send a message with body "SIGNOFF
>> BLACKBOX" to LISTSERV{([at]})nowhere.xy
>>
>>
>> ----
>> To unsubscribe, send a message with body "SIGNOFF BLACKBOX"
>> to LISTSERV{([at]})nowhere.xy
>>
>>

SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-35060754_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: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HNlbmRlci5ccGFyDQpZb3Ugc2hvdWxkIG5vdCBjb3B5IGl0
IG9yIHVzZSBpdCBmb3IgYW55IHB1cnBvc2Ugbm9yIGRpc2Nsb3NlIG9yXHBhcg0KZGlzdHJpYnV0
ZSBpdHMgY29udGVudHMgdG8gYW55IG90aGVyIHBlcnNvbi5ccGFyDQoqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxwYXIN
ClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0
aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hccGFy
DQp9
----boundary-LibPST-iamunique-35060754_-_---
Received on Fri Jul 11 2008 - 09:58:44 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:54 UTC