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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I default a checkbutton to be "checked"?

Status
Not open for further replies.

mucklow

Programmer
Joined
May 22, 2001
Messages
40
Location
US
Is there a way to default a checkbutton to be checked initially?

Something like:

checkbutton $w.b1 -text "test" -variable whatever -relief raised and I'm looking for -initial_value checked

or something like that. Any ideas? Nothing has worked so far.
 
Excellent, thank you very much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top