Project

General

Profile

Bug #2888

Bug #2677: fix drawing and functional differences between P2J GUI and 4GL GUI

SELECTION-LIST ignores DEFAULT-ACTION

Added by Hynek Cihlar over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/29/2015
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Hynek Cihlar over 8 years ago

The following code sample should output a message when selection list is double-clicked or ENTER is pressed.

DEF VAR sel AS CHAR.

ENABLE sel VIEW-AS SELECTION-LIST SINGLE 
   LIST-ITEMS "first", "second", "third", "fourth" 
   INNER-LINES 4 INNER-CHARS 10 WITH FRAME f NO-LABELS.

ON DEFAULT-ACTION OF sel DO:
   MESSAGE "Selected value: " sel:SCREEN-VALUE.
END. 

WAIT-FOR GO OF DEFAULT-WINDOW.

Also available in: Atom PDF