[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: How do I make a dynamic layout?
From: |
Alessandro Bottoni |
Subject: |
Fwd: How do I make a dynamic layout? |
Date: |
Sat, 21 Sep 2002 18:07:56 +0200 |
User-agent: |
KMail/1.4.1 |
I was reading the messages of the wxwindows list when I read a question that I
would be happy to see answered by the people of GNUe-Forms project, as well.
How do I make a dynamic layout using GNUe-Forms? Is it possible to change the
layout and/or the content of a GNUe form at run time? How?
(oh yes: I'm a newbie...:-)
[Here following you will find an excerpt of the original message sent to the
address@hidden
---------- Messaggio inoltrato ----------
Subject: How do I make a dynamic layout?
Date: Fri, 20 Sep 2002 10:44:34 -0700
From: address@hidden
To: address@hidden
Hi,
I would like to have a window that resizes when its components
are hidden or shown and I am wondering how to approach this.
Suppose I have a vertical layout of windows like this:
A
B
C
D
E
Suppose control A is a choice control that allows the
user to choose a mode which controls which subset of windows
B, C, D, and E should appear.
For instance, if A has value 1, then I want the window to
look like this:
A
B
E
whereas if A has value 2, then I want the window to look
like this:
A
B
D
(There are more than two modes, but I think you get the idea.)
If the user changes the mode in A, I want the window to
change. Using wxWindow::Show (false) on controls B, C, D,
and E of course works fine, but we see big empty gaps. How
can I close the gap?
----------------------
Alessandro bottoni
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fwd: How do I make a dynamic layout?,
Alessandro Bottoni <=