In my manual tcl/tk programming, I use "destroy" in the command
of the "Done" or "OK" buttons of auxillary toplevels.

In vTcl, if you do this and then run the application in vTcl's "TEST" mode, 
clicking that "OK" button _deletes_ the whole toplevel from vTcl!  :-(

So, I soon learned to use the command "Window hide $widget(d2)" to just
hide the whole toplevel (using the alias "d2").

This is OK, I suppose. I don't see it as being a memory hog or anything. 
I just thought I'd warn people who didn't know this, and to see if anybody
has any comments or additional hints about this issue.

...RickM...

Reply via email to