Highlighted
Absent Member.
Absent Member.
209 views

[archive] overide the entry or remove the insert mode

[Migrated content. Thread originally posted on 25 August 2005]

DISPLAY ENTRY-FIELD, 3-D
NO-BOX UPPER
CURSOR 1
LINE FIELD-LINE (FIELD-NUM)
POSITION FIELD-POSITION(FIELD-NUM)
SIZE FIELD-VISIBLE (FIELD-NUM)
LINES .9
NO-AUTOSEL
MAX-TEXT FIELD-LONGUEUR (FIELD-NUM)
HANDLE IS FIELD-HANDLE-STD
MODIFY FIELD-HANDLE-STD VALUE FIELD
ACCEPT FIELD-HANDLE-STD VALUE FIELD
ON EXCEPTION CTRL-KEY CONTINUE
END-ACCEPT

I am using this accept and i want to overide the content of the entry field i try to push the insert buttom and the entry it is still with the insert mode
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] overide the entry or remove the insert mode

I believe that you are comparing an entry field to a text editor where using the insert key overides the character that is present. You could accomplish this by not using the no-autosel property thus elimiating any value in the field as soon as someone starts typing or by using the keystroke configuration variable and map the edit function of the insert key to do a delete.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.