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

Home » Public Forums » archive » Re: updating a different widget from the event handler
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: updating a different widget from the event handler [message #29957 is a reply to message #29954] Tue, 26 March 2002 09:16 Go to previous messageGo to previous message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
David Fanning wrote:

> David Higgins (dmh@medphysics.leeds.ac.uk) writes:
>
>
>> 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. Is there an easy solution?
>>
>
> Ah, well. This is the trick in widget programs, isn't it?
> You need to get information which you have over there, over
> here where you need it.
>
> The answer is a common block.


lol, thanks for making me choke on my coffee!

-bob



> No, just kidding. :-)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image scale as 0 - 4096 instead of 0 - 255
Next Topic: Re: color labrynth

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

Current Time: Fri Oct 10 17:50:57 PDT 2025

Total time taken to generate the page: 1.68082 seconds