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

Home » Public Forums » archive » Re: Help! Multiple widget objects in 1 program, sample code
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: Help! Multiple widget objects in 1 program, sample code [message #21006 is a reply to message #20989] Wed, 02 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
craigni@worldnet.att.net (craigni@worldnet.att.net) writes:

> I have a need to *not* have all my widgets in one giant clump. I've been knocking my head against the wall for a while
> on this. How can I make the sample code below close all open widgets when I hit the "Quit" button? Right now, only the
> "firstBase" widget object closes, and the "secondBase" widget object remains open.

Change this line:

secondBase = WIDGET_BASE( GROUP_LEADER = group_leader )

To this:

secondBase = WIDGET_BASE( GROUP_LEADER = firstBase )

Cheers,

David

P.S. Let's just say that program could be improved a LOT
more if you lost the Common blocks. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Call for Political Action (Was: Top 10 List)
Next Topic: Re: xwindow, idl5.2, win2k

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

Current Time: Fri Oct 10 09:57:01 PDT 2025

Total time taken to generate the page: 0.24269 seconds