Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

label widget and clear

Status
Not open for further replies.

edwong

Programmer
Mar 26, 2003
30
US
I have a label widget that I want it to be cleared when the button is pressed.

I tried

button .clear -text "Clear" -command { dsclear .f.list delete 0 2}

this works for just clearing 2 words in the listbox

but if i put delete all
it say I must specify start and end

any hint to clear the whole screen?

thx
 
You could use {destroy <label name>} or {<label name> configure -text &quot;&quot;} Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top