dumb question--floating [message #27935] |
Tue, 13 November 2001 15:56 |
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
|
|
|