I thought I'd send Larry Virden the "step by step" for a Hello World
program that he asked for. I hit a snag.

Try this:

o  start vtcl 1.09
o  click toplevel in the toolbar
o  click button in the tool bar
o  click the "..." in the Visual Tcl menu, or "Command" in
   the Attribute editor
o  enter:  puts "Hello world" into the command editor window
   and click OK.

You get this error pop up:
      
    Error: bad window path name ".vTcl.com__top17_but18"

The same thing occurs for both the "place" and "pack" default geometry
managers. If you save the little application, it executes OK. If you
load it back into vtcl and edit the command again, you get the error
again.

Here's some of the stack trace:

bad window path name ".vTcl.com__top17_but18"
    while executing
"destroy .vTcl.com__top17_but18"
    invoked from within
".vTcl.com__top17_but18.f21.button22 invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    invoked from within
"if {($w == $tkPriv(window))

-- 
...RickM...

Reply via email to