[REBOL] vid: linking position of several elements
From: robert::muench::robertmuench::de at: 12-Feb-2002 9:33
Hi, I'm currently trying my first real-world applications using /View and have
some questions:
I use the subpanel method to display different dialogs to the user. The
presented page is build by combining several independend faces into one face.
The subpanels can have different sizes, so that the container face needs to be
resized on demand.
1. What's the best way to layout several panels like:
panel1
return
panel2
But panel1 and panel2 will have different sizes. So I need to reposition them by
altering the /offset. Is there a way to link a formular to offset? Something
like: .../offset/y: panel1/offset/y + panel1/size/y in a way that this formular
gets evaluated and the display updated as soon as some values of panel1 change?
2. Does anyone know the rules /View & VID use to determine which faces needs to
be set dirty and when these are redrawn? Isn't this handled automatically?
3. How can I remove a subpanel from the cotainer face so that it's hidden?
4. Is there a documentation about the event system, the events and how they are
fired available?
--
Robert M. Münch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax : +49 (0)721 8408 9112
Web : http://www.robertmuench.de