Hi,

I am wondering what the proper way of creating a top-level window is in VTCL.
What I want is a button or menu item that when selected, causes a window
to pop up.  The user will interact with the window, then iconize or destroy
it (the way most of the windows in VTCL work).

What I tried to do is make a call to "Window show .windowname" when the
item is selected.  When the user presses an "OK" button on the window, I
call "Window hide .windowname".  However, I keep running into various problems.
Sometimes the window pops up when the application is first started (which I 
don't want).  Sometimes the user has to select the item twice in order for the 
window to pop up.  Sometimes the window pops up but is not the correct size.

Obviously i am doing something wrong.  Any help is appreciated.

Thanks,
Brian Huggins
[EMAIL PROTECTED]  

Reply via email to