I'm completely new to Visual tcl, but I do know the basics of Tcl/Tk.
I am "playing around" with your development system, and I like it's ease of
use. Unfortunately, I learn best by reading a good book and then playing
around with the software. Unfortunately, I get to reveal my newbieness on
this user list<g>.
I am trying to initialize a variable when the program starts up and then
change it through the use of text variables and buttons in the program. The
way I'm trying to do this is as follows:
In the init proc:
set testvalue "Oh!"
In the .Toplevel window:
create a label with a text variable of testvalue (same as what was declared
in init).
create a Hello button that resets testvalue to "Hello".
create a Goodbye button that changes testvalue to "Goodbye".
The buttons work as anticipates but testvalue either never gets initialized
or I'm actually working with 2 different instances of testvalue. I'm not
sure which case I'm looking at here!
I have tried referencing testvalue as .testvalue (thinking that it may have
been created before .Toplevel was created).
I'm thinking there is a way to call an initialization proc when the program
starts, I just don't don't know how to do it!
Thanks in advance for your help!
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user