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

Home » Public Forums » archive » Re: Menu Hierarchy
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: Menu Hierarchy [message #53150 is a reply to message #53149] Mon, 26 March 2007 22:59 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
prahladvkumar@gmail.com writes:

> I had created a base widget as
>
> wbase = widget_base()
>
> on this i have placed some objects like button and lable
>
> wbutton = widget_button(wbase,uvalue = 'Text',value = 'Text')
> wlable = widget_button(wbase)
>
> now when i click on wbutton ie., on Text button I shud get another
> widget to collect some information from the user and come back to the
> main base.
>
> cbase = widget_base()
> ctext = widget_text(cbase)
>
> based on the text entered in teh text box by the user the lable has to
> get updated.
>
> please let me know the procedure in detail.

I think what you want is a pop-up dialog widget.
You can find the procedure in detail here:

http://www.dfanning.com/widget_tips/popup.html

You pop-up dialog widget will be called in the
event handler for your TEXT button.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Menu Hierarchy
Next Topic: Re: adding columns to a binary table in a fits file

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

Current Time: Fri Oct 10 16:26:29 PDT 2025

Total time taken to generate the page: 1.03634 seconds