I'd like to know how i can hadle events, like push buttons, best.
Bind an newly created TCL command to it or trap the event somehow !
Best regards
Simon
Bind an newly created TCL command to it or trap the event somehow !
Best regards
Simon
If I recall correctly, one of a button's options is the code it should to execute when it is pressed. You can set that option when you create the button or afterwards. It doesn't have to be just a command either. The code can be anything in {} block. But watch out for scoping if you include variable references in the block.
- Status
- Not open for further replies.