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

Home » Public Forums » archive » Hiding a 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
Hiding a widget [message #10647] Tue, 23 December 1997 00:00
Dale Gary is currently offline  Dale Gary
Messages: 2
Registered: December 1997
Junior Member
Greetings,

I was experimenting with the MAP keyword in widget programming and it
did not do quite
what I wanted. Perhaps someone can tell me if there is a better way. I
create a widget heirarchy,
then in response to a menu event I "hide" one of the widgets by using
WIDGET_CONTROL,widgetID,MAP=0
and the widget gratifyingly disappears. Unfortunately, I expected my
dynamically sized base widget,
which holds the hidden widget, to now shrink but instead there is just a
big gaping hole where the
hidden widget is. In other words, the sizing of the base widget still
takes into account the hidden
widget.

What I want, I guess, is to remove the widget entirely from the
heirarchy, but I cannot find information
on how to do that. Does anyone have a simple technique short of
rebuilding the entire heirarchy from
scratch?

Thanks,
Dale Gary
dgary@njit.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL and data acquisition
Next Topic: Re: IRIX/Linux binary compatibility?

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

Current Time: Wed Oct 08 14:01:34 PDT 2025

Total time taken to generate the page: 0.00532 seconds