Setting the default edit mode for data entry (sys.EditMode)ΒΆ

sys.EditMode,,u2

Edit mode for data entry

Sets the edit mode for use with all subsequent input and dialog commands, affecting the entry of data into textboxes, tables and listboxes.

Edit mode is set by flags, different flags being available for different control types. See Edit mode for details.

Default: all flags are OFF.


NOTES

  • These mode flags may also be assigned to an individual control by means of the mode = clause. Edit mode flags attached to a control are added to any flags assigned to sys.EditMode, rather than overriding them, forming a composite edit mode style for the control.

  • Mode flags are defined in the include file $SCULPTOR/include/sculptor.h. with prefix EM_.


EXAMPLES

sys.EditMode = EM_READONLY
sys.EditMode = EM_MULTIPLE | EM_SYNC_SOURCE | EM_CELL_SELECT_NO_HIGHLIGHT

RELATED TOPICS

Edit mode

Listbox edit mode

Table edit mode

Textbox edit mode