Standard Code Module Variables Related to Application Appearance

The Code module defines the following display-related variables. You should use these variables to provide a consistent appearance in your applications.

_DialogFont           The _DialogFont variable enables you to set the font used in dialog boxes for your application.

DialogWin              The DialogWin variable provides Window option parameters for a standard dialog box with a close button, title bar, thin border (not resizable), and a minimize button. DialogWin is also set to fit to window, is always on top, and uses pixel coordinates.

DialogBGColor        The DialogBGColor variable indicates the background color for a dialog box.

ButtonHighlight      The ButtonHighlight variable indicates the highlight color for a button (top and left edges).

ButtonFace            The ButtonFace variable indicates the color for the center area (face) of a button.

ButtonShadow       The ButtonShadow variable indicates the color for the shadow edges (right and bottom) of a button.

ButtonTextColor     The ButtonTextColor variable indicates the color for the text on a button.

FieldShadow          The FieldShadow variable indicates the shadow color for an edit field. This is usually the black edge just inside the dark gray chisel on the upper left side of an indented edit field.

FieldHighlight         The FieldHighlight variable indicates the highlight color for an edit field. This is usually the light gray edge just inside the white chisel on the upper left side of an indented edit field.