DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Command options by class

Form class options

Form class options apply to widgets created with the following SCO Visual Tcl commands:

VtForm VtFormDialog VtFrame

VtFrame(1vtcl) only accepts form class options (when the -asForm option is specified).

This graphic describes the form class options:

The following form class options are available:



-horizontalSpacing integer (CS)
Sets the space between the left and right sides of the objects inside a form. The default value is 5 pixels in graphical mode, and 1 character in character mode.

-marginHeight int (CS)
Sets the margin between the top or bottom of the objects inside a form. The default value is 10 pixels in graphical mode, and 0 in character mode.

-marginWidth int (CS)
Sets the margin between the left and right of the objects inside a form. The default value is 10 pixels in graphical mode, and 0 in character mode.

-resizable boolean (CS)
Specifies whether or not the form will resize if one of the widgets inside it grows or shrinks. The default is ``True''.

If a label will have several different length strings displayed in it, you may want to use -recomputeSize FALSE. This option (described under ``Label class options'') will ensure that the label does not resize every time a different length string is displayed. If you allow the label to resize, the form will also resize around it unless you have specified the -resizable FALSE option on your form. When you use -recomputeSize FALSE on your label, make sure that your label is the size you want it to be when it is created. You can do this with attachments to the form or other widgets, or you can specify the width of the label.


-verticalSpacing integer (CS)
Sets the space between the top and bottom of objects. The default value is 10 pixels in graphical mode, and 0 in character mode.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004