OK APPLY RESET CANCEL HELPNote that when creating a form, it is advisable to make the form the child of another form. This enables the new form to inherit attributes such as fonts from the dialog it was launched from. (If the form's parent is a button, it cannot inherit such attributes.)
Note also that you should use VtGet(1vtcl) to get the widgetName of any of the buttons on the bottom of the form and the option used to get the button. For example, to get the widgetName of the OK button, say:
set okButton [VtGet $form -ok]For the cancel button, say:
set cancelButton [VtGet $form -cancel]