Stewart - this is a repeat of a bug that I sent a month ago. I don't
have any record of a reply. My apology if you did. Anyway,
the bug still exists in vTcl 1.09 with all the after-patches.
I've updated the text below, but it's the same problem.
If you follow the steps below, the file that is saved will execute
properly, but within vtcl, it will not run in TEST mode. If you do
File/Source, and source the file that was saved, _then_ it operates
properly in TEST mode.
Coincidentally, this is pretty well the first tutorial exercise that I'm
developing. It would be _really_ nice to demonstrate the "Test" feature!
Try the following:
- run vtcl (1.09)
- select Main Menu item: File/New to create a toplevel
- create button in toplevel
- change button text to "Create Window"
- set button command to "Window show .top19" (or whatever)
- create another toplevel
- check that the button command above matches the name of this toplevel
(usually .top19)
- create button in toplevel
- change button text to "Hide Window"
- set button command to "Window hide .top19"
- hide this toplevel (.top19) using the Toplevel control window
- change to TEST mode
- click "Create Window", and nothing happens! :-(
...RickM...