Modifying the Defaults Used to Create a Form

Designer: To change the defaults used by the Designer to create a form, you need to modify the Designer configuration file. See the Designer User's Guide for more information.

Code: When a data form is defined in code, any feature not set in the fm_def() call is set to the values in the global default form window FM_WNP. If you want all your form windows to have a certain characteristic, change the window FM_WNP. After you do that, all form windows you define will have this characteristic.

For example, if you want to have a shadow for all your form windows, you would call:

sw_shad(TRANSPARENT, LSHADOW, BOTTOMRIGHT, FM_WNP);

All subsequent calls to fm_def() will create a form whose window has a shadow.


Home Contents Previous Next