Hello:
Would anyone help me to find out why my code has error message
with invalid command name, when i run my code.
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