Project

General

Profile

Bug #5969

Unacceptable keys shouldn't clear selection in fill-in

Added by Stanislav Lomany over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/12/2022
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Stanislav Lomany over 2 years ago

If a key is not accepted by the current format (?), it should do nothing in 4GL.

def var i1 as integer init 5.
def var d2 as decimal init 7.77.
def var date1 as date init "11/12/2023".

display i1 d2 date1 with frame fr.
enable  i1 d2 date1 with frame fr.

wait-for close of current-window.

Sample scenario 1: press "x" - nothing should happen (in FWD field value becomes "0" and selection is gone).
Sample scenario 2: select the second digit in the second field ("7.77") and press "x" - nothing should happen (in FWD field value becomes "7.07" and selection is gone).

Also available in: Atom PDF