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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Menu Hierarchy [message #53149] Tue, 27 March 2007 01:36
prahladvkumar is currently offline  prahladvkumar
Messages: 18
Registered: March 2007
Junior Member
On Mar 27, 10:59 am, David Fanning <n...@dfanning.com> wrote:
> prahladvku...@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.")- Hide quoted text -
>
> - Show quoted text -

David,
Thank you very much.

My intension is to link the objects of two independent widgets.

Can I have a sample example with some description Please..

DO the needful.

Cheers,
Prahlad V
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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Oct 11 15:02:30 PDT 2025

Total time taken to generate the page: 0.74826 seconds