Changing the Default Form Option Settings

Designer: You can change the default form options used in the Designer by modifying the Designer configuration file. Any data form created after you change the configuration file will use the new options. Forms previously created will not use the new options. See the Designer User's Guide for details about changing the configuration file.

Code: You can change the default form options used by fm_def() with:

void se_fmopt(options)

long options;    /* Options to use for defaults                */

All options not specified in this call are turned OFF. To turn all options off, specify 0L for the options.

For example, to set the default options for a data form to have free-form cursor movement and automatic field-to-field movement, call:

se_fmopt(CURSORFREE | AUTOMOVE); 

Any data form defined after making this call will be initially assigned these two options by default. Forms defined before calling se_fmopt() will not be affected.


Home Contents Previous Next