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

Home » Public Forums » archive » dumb question--floating
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
dumb question--floating [message #27935] Tue, 13 November 2001 15:56
sandy is currently offline  sandy
Messages: 6
Registered: July 1991
Junior Member
This is obviously something simple, but I can't get the 'Floating'
keyword to change the behavior of my base widgets at all. I assign the
'Group_Leader' keyword a valid widget ID during my base widget
initialization statement, but when realized the floating base is still
easily lost behind the window of its supposed group leader. Am I not
understanding what floating means? The second widget base window will
be destroyed if I close the first one, so clearly the Group_Leader is
being accepted... I thought that's all that was needed to make one
widget float above the other.

What's wrong with this code? Why doesn't the base2 window stay in
front?

pro pleasefloat
base1=widget_base(title='base1', xsize=400)
base2=widget_base(group_leader=base1, title='base2', xsize=400,
/Floating)
widget_control, base1, /realize
widget_control, base2, /realize
end

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PlotS and symbol characteristics
Next Topic: Re: Divide By Zero error

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

Current Time: Thu Oct 09 14:37:41 PDT 2025

Total time taken to generate the page: 0.72064 seconds