VxEndFormCB(VTCL)

VxEndFormCB(VTCL)


VxEndFormCB -- destroy parent form of widget calling this command

Syntax

VxEndFormCB

Description

Destroys the parent form of the widget it was called by. This is useful for calls like:
set form [VtFormDialog $app.form -ok -okCallback VxEndForm]    
In the above example, when the user presses the OK button the dialog is destroyed.