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

Home » Public Forums » archive » Re: Simple GUI 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: Simple GUI question [message #34799 is a reply to message #34798] Fri, 18 April 2003 08:55 Go to previous messageGo to previous message
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
This will be simplier than David's suggestion. Modal widget would be an
overkill here.
Change the calling order completely. Call the GUI procedure first. Event
handler can be very simple with just one "Do it" button that needs to
pass events. You can ignore events from text widgets.
Upon "Do it" event (after user entered data into all text widgets)
collect the contents from all your text widgets using widget_control,
txtWidget_ix, get_value=Data_ix and then call your data processing
function from the event handler, passing it all the Data_ix variables.

Cheers,
Pavel

"Kevin M. Lausten" wrote:
>
> I am a beginner user of IDL and results are expected soon. My current
> project begins with a GUI in which the user is prompted to input
> strings into several text widgets. I am haveing trouble passing this
> data from the GUI to my source code. The first line of my source code
> calls the GUI, and I need subsequent lines to perform procedures and
> functions on the data provided by the user. Any help would be greatly
> appreciated.
> Thank you,
> Kevin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLWAVE question
Next Topic: Re: DTED READERS

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

Current Time: Fri Oct 10 15:30:13 PDT 2025

Total time taken to generate the page: 1.68140 seconds