View/VID focus question
[1/3] from: atruter::hih::com::au at: 25-Oct-2001 18:14
New to REBOL and this list so apologies in advance if this question has
been asked before [ I have checked a large number of View/VID references
already though ;) ].
Given the following code:
REBOL []
view/new/options center-face layout [
size system/view/screen-face/size
button "Exit" [unview/all]
button "A"
] [no-title]
view/new/offset layout [
button "B"
] system/view/screen-face/size / 4x4
view/new/offset layout [
button "C"
] system/view/screen-face/size / 2x2
do-events
is there a simple and clean way of preventing the 2nd and 3rd windows being
obscured when the focus shifts to the 1st window (by button "A" being
pressed)? Additionally, is the "center-face . . . size system/view . . ."
method the best way to create a full-screen background? I realise this can
be accomplished in View, but was after a simple VID-like technique.
Regards,
Ashley
*****************Privacy, Confidentiality & Liability Notice ************
This email is intended for the named recipient only. The information
contained in this message may be confidential, or commercially sensitive.
If you are not the intended recipient you must not reproduce or distribute
any part of this email, disclose its contents to any other party, or take
any action in reliance on it. If you have received this email in error,
please contact the sender immediately. Please delete this message from
your computer.
You must scan this email and any attached files for viruses.
The company accepts no liability for any loss, damage or consequence,
whether caused by our own negligence or not, resulting directly or
indirectly from the use of any attached files.
Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
the Company.
**************************************************************************
[2/3] from: g:santilli:tiscalinet:it at: 25-Oct-2001 11:29
[atruter--hih--com--au] wrote:
> is there a simple and clean way of preventing the 2nd and 3rd windows being
> obscured when the focus shifts to the 1st window (by button "A" being
> pressed)?
Is this what you wanted?
main: view/new/options center-face layout [
size system/view/screen-face/size
button "Exit" [unview/all]
button "A"
] [no-title]
view/new/offset/options layout [
button "B"
] system/view/screen-face/size / 4x4 compose [parent (main)]
view/new/offset/options layout [
button "C"
] system/view/screen-face/size / 2x2 compose [parent (main)]
do-events
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/
[3/3] from: atruter:hih:au at: 26-Oct-2001 10:09
Thanks Gabriele, that was EXACTLY what I was after!
Regards,
Ashley