How to define non-widget event.ids ? [message #29492] |
Mon, 25 February 2002 08:19 |
Streun Andreas
Messages: 4 Registered: October 2000
|
Junior Member |
|
|
In an event handler, the different event.ids are usually
widget identifiers. However, when programming a loop
as an event chain I send pseudo-events to event.ids
which have no corresponding widget (e.g. a virtual
"next step" button which is never used by man).
The only way I yet know to realize that, is to define
small, empty, inactive buttons in the GUI, only in
order to get valid event.ids.
Unfortunately, this creates "pimples" in the GUI...
Probably one of the experts immediately can tell how
to solve this [cosmetic] problem:
Is it possible to have user-defined, non-widget event.ids?
Thanks for any help and regards,
Andreas
--
Dr. Andreas Streun
Paul Scherrer Institute, SLS-BD, WSLA/106
CH-5232 Villigen PSI, Switzerland
Tel/Fax: ++41 (56) 310 3688/4528
|
|
|