"Spitters, Martijn" wrote:
>
> Can anyone tell me if it's possible to first create and design a window and
> to automatically hide
> this, and to show it by clicking on a button in the main window?
I presume that you already have a toplevel window of your own (let's say
.mywin)
Right click on the .mywin window (in design mode) and click on "Select
parent" option from the popup menu then check if "Insert point" in
Attribute window is "." (otherwise your window will be a child of .mywin
window)
Press on the toolbar on the "toplevel window" button in order to create
a new toplevel window and name it (let's say .my2win)
Place two buttons in the .mywin window with commands "Window show
.my2win" and "Window hide .my2win"
Go into "test" mode and play with it!
Best regards,
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).