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

Home » Public Forums » archive » EVENT_FUNCS
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: EVENT_FUNCS [message #16153 is a reply to message #16126] Fri, 02 July 1999 00:00 Go to previous message
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
In article <7l9au6$3cf$1@nnrp1.deja.com>,
davidf7203@my-deja.com wrote:
> Phil Aldis writes:
>
>> Can anyone possibly describe exactly how event _funcs work.
>
> Event handler functions work exactly like event handler procedures,
> with this exception: they return a value. If that return value
> is anything else besides a structure that has ID, TOP, and
> HANDLER fields defined as long integers, the return value is ignored
> and the event handler function acts *exactly* like an event handler
> procedure. But if that return value is a structure with those
> fields, the return value is treated as an event structure and it
> is passed up the widget hierarchy just as all events are passed.


Aha, bookmark David's message folks! This is the FIRST time I have seen
written in plain english what the EVENT_FUNC actually returns and how
and where it returns it! David Fanning has used this in the past (I
struggled with a list item widget of his a long time ago with little
success understanding it until now).

Thanks David, and Phil for the asking!

Rose


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[Message index]
 
Read Message
Read Message
Previous Topic: Leaving the IDL World for Now
Next Topic: Re: Can an object's structure be redifined without restarting IDL

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

Current Time: Wed Oct 08 19:20:27 PDT 2025

Total time taken to generate the page: 0.00419 seconds