Project

General

Profile

Bug #5918

KEY-CODE for SHIFT-x labels

Added by Vladimir Tsichevski over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

Related issues

Related to User Interface - Bug #5887: NPE when applying "SHIFT-V" event Closed

History

#1 Updated by Vladimir Tsichevski over 2 years ago

  • Related to Bug #5887: NPE when applying "SHIFT-V" event added

#2 Updated by Vladimir Tsichevski over 2 years ago

This issue is related to return values of the KEY-CODE 4gl function when the function argument starts with the SHIFT- prefix, followed by a single character.

According to the OE documentation, the SHIFT modifier is removed from the returned code, and the code for this character upper-cased should be returned.

For example, for SHIFT-A the value 65 should be returned, which is ASCII code for the 'A' character in upper case.

It is unclear, how this function should behave for inputs which are not ASCII letters.

A test program for the first 256 ASCII codes converted to 4gl characters and output reports for FWD and OE are added in testcases rev. 2306.

The OE and FWD outputs do differ.
Note: the program output is the same for GUI and ChUI modes. This holds both for OE and FWD.

The test was executed with branch 3821c rev. 13298.

Also available in: Atom PDF