On Tue, 4 Feb 1997, Brian Huggins - x2895 wrote:
> 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.
There are two behaviours at work here. First, a window will be created
or not when the application starts depending on whether or not it was
visible when the application was saved. Second, there is a bug in 1.07
when "showing" windows that have already been created. This has been
fixed in 1.08 which will be out this week. You should not have to change
your code.
> Obviously i am doing something wrong. Any help is appreciated.
I don't think you are. The toplevel support is a bit weak at the moment
and I will be adding more options in upcoming releases.
-stewart-