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

Home » Public Forums » archive » Re: CW_FIELD question
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: CW_FIELD question [message #54225 is a reply to message #54210] Fri, 25 May 2007 12:40 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
markb77@gmail.com wrote:
> Thanks for the responses!
>
> Does it have something to do with the /NO_BLOCK keyword to Xmanager?
>
> Let's say I wanted to include an event handler to handle events from
> these input fields only, leaving the rest of my code unchanged. What
> would that look like? Would I read the contents of the fields in the
> event manager and write them into a common block variable that my code
> could read? I still don't see where the necessity for an event
> manager comes in here - why can't I simply read the values of the
> fields from within my code using WIDGET_CONTROL, field2,
> GET_VALUE=value?
>

Use a pointer instead of a common block. You can create the pointer in
the main program, store it as the Uvalue of the text field, modify its
content in the event handler and read it back in your main program...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anyone using IUE software library in IDL?
Next Topic: Re: Anyone using IUE software library in IDL?

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

Current Time: Wed Oct 08 20:03:34 PDT 2025

Total time taken to generate the page: 0.32012 seconds