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

Home » Public Forums » archive » how to hide a tab... ?
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
how to hide a tab... ? [message #79185] Mon, 06 February 2012 12:31
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hello gurus,

Do you know if there is a way to hide a TAB in IDL? And by a TAB I
mean a WIDGET_BASE who its parent it's a WIDGET_TAB.
Let's give an example to explain this :

base=WIDGET_BASE(/COLUMN,XSIZE=200, YSIZE=50)
tabs=WIDGET_TAB(base)

tab1=WIDGET_BASE(tabs,TITLE='tab 1')
tab2=WIDGET_BASE(tabs,TITLE='tab 2')
tab3=WIDGET_BASE(tabs,TITLE='tab 3')

WIDGET_CONTROL, base, /REALIZE

What I would like to do is hide / unhide 'tab 2'.. I tried the
following things:

WIDGET_CONTROL, tab2, .MAP=0
WIDGET_CONTROL, tab2, REALIZE=0

Any other ideas ? Thank you,
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Keeping the Fortran logical records structure with IDL
Next Topic: Is there a default function return the day of a given month?

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

Current Time: Wed Oct 08 13:44:20 PDT 2025

Total time taken to generate the page: 0.00461 seconds