Hi Rossen,

Set the textvariable you want to be displayed as a global var!

E.g.:

proc main {
        global mytextvar
.....

}

proc anyother {
        global mytextvar

        if {$date == $mybirthday} {
                set mytextvar "Happy Birthday!"
        }
...
}

Regards,
  Thorsten


 
---------
 
Dipl.-Ing.
Thorsten Volkmer-Wolf
IT-Support & Services
 
AEROTEC Engineering GmbH
Hein-Saß-Weg 38
21129 Hamburg / Germany
 
fon +49 (0)40/742 198-241
fax +49 (0)40/742 198-111
 
http://www.aerotec.de


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 26. Juni 2006 20:42
An: [email protected]
Betreff: [vtcl-user] entry problem

Hi all!

When I set a new value for standart entry, this is not displayed automaticaly. 
Example: -textvarable ::myvar is set. In other procedure I set ::myvar 
"anything" and not is showed on the main window. How to do this. in the manual 
I read:

Command-Line Name: -textvariable
<cut>  if the variable value changes then the widget will automatically update 
itself to reflect the new value.<cut>

I was tr with set and -configure, but nothing... :-/ reread my books and docs, 
but not see my mistake.
Please help
Thank you
Rossen


/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Rossen Karpuzov - SysOp  news://gustav.netplus.bg |
| Gustav's Astronomy BBS   http://gustav.netplus.bg |
\___________________________________________________/


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
vtcl-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
vtcl-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to