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

Home » Public Forums » archive » updating a different widget from the event handler
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
updating a different widget from the event handler [message #29965] Tue, 26 March 2002 06:21
dmh is currently offline  dmh
Messages: 3
Registered: March 2002
Junior Member
I have set up my first ever GUI and it runs ok. I have a "Browse"
button and a text widget for a file path. I would like to have the
file path appear in the text widget after clicking on Browse and
choosing a file. Getting the path is easy (I named it "newpath"), but
how to update the text widget (which is called "source") is beyond me.

I tried
widget_control, source, set_value=newpath
but the event handler has never heard of "source"...it thinks it's an
undefined variable.

I realise David Fanning's FSC_FILESELECT - using compund widget
programs as objects - does this, but that method seems complicated to
me: is there an easy solution?

Thanks in advance for any help.

Dave Higgins

IDL 5.5 Win2000
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Want to get Array(48) instead of Array(1,48)
Next Topic: Re: Transparent texture mapped polygons

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

Current Time: Wed Oct 08 19:03:58 PDT 2025

Total time taken to generate the page: 0.00465 seconds