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

Home » Public Forums » archive » Re: How to pick columns in a base widget?
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: How to pick columns in a base widget? [message #31747] Thu, 15 August 2002 11:15
Don J Lindler is currently offline  Don J Lindler
Messages: 19
Registered: April 2001
Junior Member
"Luciano" <lucianor@sinectis.com.ar> wrote in message
news:902633c3.0208150817.37f97e91@posting.google.com...
> Hello,
>
> I have a base widget with a 3 column structure:
> tlb = WIDGET_BASE(column=3)
>
> is there an easy way to choose in which of the 3 columns the child
> widgets will appear? I don't want IDL to pick, I want to do it myself!
> For example, how do I put a button widget in the column of the middle?
>
> Thanks in adavance.
>
> Luciano.

I think you want to use something like this:

tlb = widget_base(/row)
base1 = widget_base(tlb,/column) ;first column
base2 = widget_base(tlb,/column) ;second column
base3 = widget_base(tlb,/column) ;third column

Now add buttons, etc. to base1, base2, or base3 to put them into the columns
you want.
The top level base is a row of columns.

Don
Re: How to pick columns in a base widget? [message #31752 is a reply to message #31747] Thu, 15 August 2002 09:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Luciano (lucianor@sinectis.com.ar) writes:

> I have a base widget with a 3 column structure:
> tlb = WIDGET_BASE(column=3)
>
> is there an easy way to choose in which of the 3 columns the child
> widgets will appear? I don't want IDL to pick, I want to do it myself!
> For example, how do I put a button widget in the column of the middle?

Put three column=1 bases in your top-level base.
Then, add your button to the second of the column bases. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to pick columns in a base widget?
Next Topic: Problems realizing menu changes under IDL 5.5 on Solaris

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

Current Time: Fri Oct 10 02:23:31 PDT 2025

Total time taken to generate the page: 0.48120 seconds