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

Home » Public Forums » archive » Re: How do I build 2 widgets on the same place?
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: How do I build 2 widgets on the same place? [message #54676 is a reply to message #54672] Wed, 27 June 2007 11:57 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jun 27, 12:41 pm, "aleks.fra...@gmail.com" <aleks.fra...@gmail.com>
wrote:
> Hello.
> My GUI application needs 2 widgets on the same spot, so that an event
> can make one of them disappear and shows the other on the same place.
> I know how to make them disappear using the keyword MAP. But I can`t
> bring buttons to its place while its off.
> Did I make it clear?
>
> Thank you

The "normal" trick to use in this situation is to make a base in the
location of the two interchanging widgets that is a "bulletin board"
base (i.e. without ROW, COLUMN, or GRID_LAYOUT). Then add both widgets
as children of this base using MAP to turn them on/off. When you add
widgets to a bulletin board base you can specify a location with
XOFFSET and YOFFSET, but usually you just want the default (0,0)
location.

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Previous Topic: Is there an IDL version 6.4 for Fedora 7 i386
Next Topic: IDL on Mac OS X

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

Current Time: Sat Oct 11 22:19:53 PDT 2025

Total time taken to generate the page: 2.15978 seconds