Insert (config): Difference between revisions
No edit summary |
Gordon.dye (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The '''Insert''' [[BRConfig.sys]] specification: | The '''Insert''' [[BRConfig.sys]] specification: | ||
When the cursor enters a field the ''overtype/insert'' setting can be controlled by the INSERT statement. The syntax of this statement is: | |||
INSERT | CONFIG INSERT ON | OFF [MIN_LENGTH <0-99>]|[NON_PERSISTENT]|[SESSION_PERSISTENT]|[PERSISTENT] | ||
====INSERT Configuration Statement Parameters==== | ====INSERT Configuration Statement Parameters==== | ||
INSERT ON | OFF - sets mode to Insert or Overtype <br> | INSERT ON | OFF - sets mode to Insert or Overtype <br> | ||
INSERT MIN_LENGTH 10 - regulates separate long and short insert settings. MIN_LENGTH denotes that INSERT should be ON if the field capacity equals or exceeds the numeric value.<br> | INSERT MIN_LENGTH 10 - regulates separate long and short insert settings. MIN_LENGTH denotes that INSERT should be ON if the field capacity equals or exceeds the specified numeric value.<br> | ||
INSERT [ON|OFF] NON_PERSISTENT - resets to specified setting upon field exit <br> | INSERT [ON|OFF] NON_PERSISTENT - resets to specified setting upon field exit <br> | ||
INSERT [ON|OFF] SESSION_PERSISTENT - resets at the beginning of each BR invocation <br> | INSERT [ON|OFF] SESSION_PERSISTENT - resets at the beginning of each BR invocation <br> | ||
INSERT [ON|OFF] PERSISTENT - user setting persists across BR invocations <br> | INSERT [ON|OFF] PERSISTENT - user setting persists across BR invocations <br> | ||
The default mode is ON PERSISTENT. | The default mode is ON PERSISTENT.<br> | ||
HOWEVER the default setting action is overridden by the [[DataHilite]] configuration statement action. Datahilite causes the content of a field to be hilighted and if the user just starts typing it clears the field before displaying the typed value. | |||
This statement can also be set using the [[Config]] command, or from within the program using the [[execute]] statement. | |||
<noinclude> | <noinclude> | ||
[[Category:Config]] | [[Category:Config]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:39, 15 September 2025
The Insert BRConfig.sys specification:
When the cursor enters a field the overtype/insert setting can be controlled by the INSERT statement. The syntax of this statement is:
CONFIG INSERT ON | OFF [MIN_LENGTH <0-99>]|[NON_PERSISTENT]|[SESSION_PERSISTENT]|[PERSISTENT]
INSERT Configuration Statement Parameters
INSERT ON | OFF - sets mode to Insert or Overtype
INSERT MIN_LENGTH 10 - regulates separate long and short insert settings. MIN_LENGTH denotes that INSERT should be ON if the field capacity equals or exceeds the specified numeric value.
INSERT [ON|OFF] NON_PERSISTENT - resets to specified setting upon field exit
INSERT [ON|OFF] SESSION_PERSISTENT - resets at the beginning of each BR invocation
INSERT [ON|OFF] PERSISTENT - user setting persists across BR invocations
The default mode is ON PERSISTENT.
HOWEVER the default setting action is overridden by the DataHilite configuration statement action. Datahilite causes the content of a field to be hilighted and if the user just starts typing it clears the field before displaying the typed value.
This statement can also be set using the Config command, or from within the program using the execute statement.