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

Search results for query: *

  1. xiaocubbb

    TCL TK .button instate pressed

    Hi, I wanna use .button instate pressed. But there are errors. Here is my code: proc displayAmtFn {} { if {.f.b1 instate pressed == 1} { set ::finalamt 1} elseif {.f.b2 instate pressed == 1} { set ::finalamt 2} set ::finalamt "" } b1 and b2 are my buttons. is my syntax wrong? my errors...

Part and Inventory Search

Back
Top