The next step is to create the main form using the VtFormDialog command:
VtFormDialog $app.form -title Kill
VtFormDialog(VTCL) typifies an SCO Visual Tcl command:
All widgets are uniquely identified by name. To establish this uniqueness, use a simple naming scheme. To name a widget, specify the following, in this order:
The next line of code creates a form with the VtFormDialog command. VtFormDialog(VTCL) returns a handle to refer to that form in the widget tree.
The form's handle is stored in the variable mainform, and
the widget's parent is the app variable.
The form created by VtFormDialog is simply a box in which to place widgets. Because it is a dialog form, it contains a window manager border which allows you to maximize or minimize the form.
Notice the string, ``Kill,'' specified by using the -title option to VtFormDialog, appears in the title bar of the form.