Destroys the parent form of the widget that called this command.
None.
The following code produces a Form dialog with a Label and an OK button. When the user activates the OK button, VxEndFormCB is called, and the Form dialog is destroyed.
set app [VtOpen Demo] set form [VtFormDialog $app.form \ -ok \ -okCallback VxEndFormCB \ -title "VxEndFormCB Demo"] set label [VtLabel $form.label \ -label "This is a demonstration of\nVxEndFormCB"] VtShow $form VtMainLoop
This code produces the following: