in reply to Clearing text in Tk

I'd need to see the rest of your code to be sure, but it appears to me that you are creating a new "Label" and putting it in place over the original "Label". Perhaps you should try using -textvariable=>\$loginchoice rather than -text=>"$loginchoice". The -textvariable option for a Tk::Label widget will automatically update the label with any value you place in $loginchoice.

May the Force be with you

Replies are listed 'Best First'.
Re^2: Clearing text in Tk
by thegoaltender (Sexton) on Sep 23, 2004 at 15:22 UTC
    Thanks! With some modification to the code I made that work. I had ruled that out earlier because the variable could change without me wanting the text to change in the GUI. I just started working on this code again after about a month, so I am still trying to figure out what I started. Thanks again!