comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to define non-widget event.ids ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to define non-widget event.ids ? [message #29490] Mon, 25 February 2002 08:59 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Streun Andreas wrote:

> 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.

I'm not sure I understand why you have to send events in this instance.
If there's no real widget associated with the widget id, why not just
pass the 'events' to an ordinary function for processing?


> Unfortunately, this creates "pimples" in the GUI...

If you don't need them for their visible appearance, perhaps you could
attach them to a base that you never bother realizing? it would be used
solely as a place to contain widgets used for this purpose.
[Message index]
 
Read Message
Read Message
Previous Topic: How to define non-widget event.ids ?
Next Topic: Generating gamma-random numbers in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:31:10 PDT 2025

Total time taken to generate the page: 0.16168 seconds