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

Home » Public Forums » archive » Re: unmap tab widgets?
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: unmap tab widgets? [message #67357] Wed, 15 July 2009 05:24
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Marshall Perrin writes:

> I've got an application which offers the user a large set of options
> presented in about half a dozen tabs. Depending on the overall program
> mode, one or more of these tabs may be inapplicable, so I would like
> to unmap them to hide the irrelevant options.
>
> Yet the usual "widget_control, wid, map=0" command doesn't seem to
> do anything for base widgets which are part of a tab set! Is this a
> known limitation/bug? Is there any work around, short of constantly
> destroying and recreating the entire tab set?

You can only map/unmap top-level base widgets.
One alternative to destroying/recreating is
to make that tab insensitive so that it can't
be used for anything. Of course, that may not
be what you want.

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
Previous Topic: if evaluation
Next Topic: Message error after 200 iterations using MCTK in IDL

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

Current Time: Fri Oct 10 12:57:37 PDT 2025

Total time taken to generate the page: 1.04014 seconds