Insert (config): Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The '''Insert''' [[BRConfig.sys]] specification:
The '''Insert''' [[BRConfig.sys]] specification:


The default under Windows is to reverse each field as it is entered, and to position the cursor at the end of the data. This type of processing can be turned off by specifying DATAHILITE OFF in the BRconfig.SYS file.
The default under Windows is to reverse each field as it is entered, and to position the cursor at the end of the data. This type of processing can be turned off by specifying INSERT OFF in the BRconfig.SYS file.


  CONFIG DATAHILITE ON  
  CONFIG INSERT ON  
The above indicates that the user's Windows specifications for selected text should apply to highlighted text.
The above indicates that the user's Windows specifications for selected text should apply to highlighted text.


  CONFIG DATAHILITE OFF  
  CONFIG INSERT OFF  


OFF can be used to turn this feature off.
OFF can be used to turn this feature off.
Line 24: Line 24:
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 is overridden by the [[DataHilite]] configuration statement.


This statement can also be set using the [[Config]] command, or from within the program using the [[execute]] statement.
This statement can also be set using the [[Config]] command, or from within the program using the [[execute]] statement.

Revision as of 00:33, 6 December 2021

The Insert BRConfig.sys specification:

The default under Windows is to reverse each field as it is entered, and to position the cursor at the end of the data. This type of processing can be turned off by specifying INSERT OFF in the BRconfig.SYS file.

CONFIG INSERT ON 

The above indicates that the user's Windows specifications for selected text should apply to highlighted text.

CONFIG INSERT OFF 

OFF can be used to turn this feature off.

INSERT mode also toggles with the keyboard Insert key.


The full possible syntax of this statement is:

CONFIG INSERT ON | OFF  [MIN_LENGTH <0-99>]|[NON_PERSISTENT]|[SESSION_PERSISTENT]|[PERSISTENT]    ! one or two digits

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 is overridden by the DataHilite configuration statement.

This statement can also be set using the Config command, or from within the program using the execute statement.