| View previous topic :: View next topic |
| Author |
Message |
nvgishere General User

Joined: 10 Feb 2010 Posts: 38
|
Posted: Thu Mar 25, 2010 11:03 pm Post subject: Keeping a push button pressed |
|
|
Hi
I have a macro "RUN" attached to the push button "RUN".
This macro "RUN" processes data for 15 minutes.
I want to keep this push button pressed while the macro "RUN" is in process.
So that no one is enabled to press the push button
while the macro is processing the data.
Can anyone help me in getting this done? |
|
| Back to top |
|
 |
nvgishere General User

Joined: 10 Feb 2010 Posts: 38
|
Posted: Sun Mar 28, 2010 9:18 am Post subject: |
|
|
Can the properties of buttons be activated / controlled using macros?
To show the activity with which a pushbutton is related,
can a macro be written to keep the pushbutton "low" ? ie can it be kept pressed? |
|
| Back to top |
|
 |
hanya Super User

Joined: 04 May 2005 Posts: 543 Location: Japan
|
Posted: Sun Mar 28, 2010 9:26 am Post subject: |
|
|
| Set Toggle property of the button model to True. And you can get the state of the button from State property, not pushed: 0 and 1 for pushed. |
|
| Back to top |
|
 |
|