The text of a button
felixmoldovan
Posts: 197
Hello
Is there any way of determining what text has a button? Other than monitoring all the possible DATA_EVENTS directed to the respective panel or polling the module, which, I agree, would be a solution for this particular application.
Particularly, I am trying to use the text as a flag variable ('ARMED/DISARMED), while text is being accordingly updated by the alarm module, and I would like to "grab" the text from the button itself.
And generally, who knows, something like this might come handy some other time...
Is there any way of determining what text has a button? Other than monitoring all the possible DATA_EVENTS directed to the respective panel or polling the module, which, I agree, would be a solution for this particular application.
Particularly, I am trying to use the text as a flag variable ('ARMED/DISARMED), while text is being accordingly updated by the alarm module, and I would like to "grab" the text from the button itself.
And generally, who knows, something like this might come handy some other time...
0
Comments
http://amxforums.com/showthread.php?t=3981&highlight=custom_event
Say it ain't so, Joe, there you go again!
Ya beat me to it . . .