ddsone -
This can be done easily -
main-win: none
control-win: layout [
button "Display 1" [
;hide main-win if showing
if not none? main-win [ unview/only main-win ]
main-win: layout [
across
label "I am Display 1" return
button "Press Me"
]
main-win/
view/new main-win
]
button "Display 2" [
if not none? main-win [ unview/only main-win ]
main-win: layout [
across
label "I am Display 2" return
button "Press Me"
]
view/new main-win
]
]
view control-win
You can then use the offset facet to control where the main-win actually
displays.
I hope this is what you were looking for.
rwd
ddsone wrote:
>Hi all
>
>I need open two windows at the same time,
>one window must be main and manage second window.
>
>It's possible?
>
>Thanks
>
>
>
>
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.