[REBOL] Re: Many Topics (was: Killer Application)
From: reffy::ulrich::net at: 17-Aug-2002 15:38
Hi List,
You guys are smart!!
In a GUI ...
How can you have a common panel variable which can be set to another maybe complex panel?
Such that the view appears to morph, with one panel area (that may be larger or smaller).
For example, how about this layout:
TP
HP
BP
IP
SP
Where:
TP is a TitlePanel
HP is a Heading Panel
BP is a Button Panel
IP is an Item Panel
SP is a Status Panel
Idea is that the BP and IP are the body so to speak. On a button press, the BP changes
to another set of buttons, and the IP is tailored for that new mode/view. The IP might
be where you show the fields of the current record.
Together BP and IP can be thought of as a mode such as Browse, Find, Add, Modify, Remove,
etc.
On press of Find button, the buttons now read ShowIndex, Clear, FindAll, Find, Esc. The
IP takes on the appearance of a search form.
Esc would return to the previous Browse view. I have had trouble doing this in various
languages and I am thinking in Rebol it might be much easier. Any thoughts on how to
do this properly?
Thanks,
Dick