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!

Toplevel window

Status
Not open for further replies.

stewang

Programmer
Aug 21, 2003
77
NZ
Hello:
Would anyone help me to find out why my code has error message
with invalid command name, when i run my code.
Code:
frame .frame1
label .frame1.label -text "I am a label"

button .frame1.button -text "Format label"   
  -command  { .frame1.button configure -state disabled createDialog }
              

pack .frame1.label .frame1.button -side top
pack .frame1
 
Thanks for you pay attention to my question, I known the solution already.

rgds
stewang
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top