DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing a SCOadmin manager

Dimensions, borders, and alignment

SaCharmSetMaxFormDimensions(TCL_ADM) allows managers to set the dimensions of their top level form to fill the screen when running in a character-based environment. See ``Template startup procedure: UiStart'' for a usage example.

A 10-pixel border (1 character in CHARM) should be used as margin on all four sides of a form (except the menu bar, tool bar, and status line) and as the minimum spacing between all the widgets on the form (exceptions are rare). A spacing of 5 pixels (0 characters in CHARM) should be used as the margin on the left and right sides of a widget (except labels).

SaAlignedForm(TCL_ADM) is a front end to VxAlignedForm(VTCL), which allows controls to be aligned within a form.


Next topic: Main window label and title
Previous topic: Template startup procedure: UiStart

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003