On Mon, 16 Aug 1999, Carl Burton wrote:

>      I keep trying to assign a textvariable (text var) to a label and it 
>      dosnt seem to want to take it. Very occasionally it does take the 
>      variable name but when it does text does not appear in the label 
>      anymore why? The only way I can remedy is to delete the lable and 
>      start again !! 
>      
>      So How do I give the lable a text variable name and make it stick ? 

You need to set the text variable in a proc where the variable is declared
global.

You can set the value in the vTcl GUI either by setting the "text" before
the "text var", or open the Window/CommandConsole and set it there, but
this value isn't saved by vTcl.

Setting the text var in main or init won't show the text var value in the
label unless you save and reopen the application in vTcl (even if you
change from EDIT to TEXT mode).

...RickM...

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to