Project

General

Profile

Feature #2372

implement support for PUT SCREEN in GUI

Added by Greg Shah over 9 years ago. Updated over 9 years ago.

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

0%

billable:
No
vendor_id:
GCD

put_screen_in_gui_case_1.png (3.59 KB) Greg Shah, 08/11/2014 10:09 AM

put_screen_in_gui_case_2_after_pause.png (3.85 KB) Greg Shah, 08/11/2014 10:09 AM

put_screen_in_gui_case_2_before_pause.png (3.37 KB) Greg Shah, 08/11/2014 10:09 AM

put_screen_in_gui_case_3.png (3.51 KB) Greg Shah, 08/11/2014 10:09 AM

put_screen_in_gui_case_4_after_pause.png (3.87 KB) Greg Shah, 08/11/2014 10:09 AM

put_screen_in_gui_case_4_before_pause.png (3.39 KB) Greg Shah, 08/11/2014 10:09 AM


Related issues

Related to User Interface - Feature #2252: implement GUI client support Closed 03/24/2014

History

#1 Updated by Greg Shah over 9 years ago

Although PUT SCREEN is documented (in the 4GL reference) as not working in GUI, in fact it can be used. However, its usage is "buggy" which makes it potentially difficult to use in a useful manner. Of course, if someone can do it, it will be done.

Case 1 (output location overwrites a frame, no pause):

DEF VAR i AS INT.

DISPLAY "abcdef" AT ROW 5 COL 1 WITH FRAME f1 SIZE 10 BY 10.

PUT SCREEN ROW 1 COL 1 "1".

Output Case 1:

The last frame output is re-displayed underneath the PUT SCREEN output.

Case 2 (output location overwrites a frame, with pause before PUT SCREEN):

DEF VAR i AS INT.

DISPLAY "abcdef" AT ROW 5 COL 1 WITH FRAME f1 SIZE 10 BY 10.
PAUSE.
PUT SCREEN ROW 1 COL 1 "1".

Output Case 2, before pause:

Output Case 2, after pause:

The default STATUS line for editing is re-displayed underneath the PUT SCREEN output.

Case 3 (output location does NOT overwrite a frame, no pause):

DEF VAR i AS INT.

DISPLAY "abcdef" AT ROW 5 COL 1 WITH FRAME f1 SIZE 10 BY 10.

PUT SCREEN ROW 17 COL 1 "1".

Output Case 3:

No detectable output of the PUT SCREEN is visible.

Case 4 (output location does NOT overwrite a frame, with pause before PUT SCREEN):

DEF VAR i AS INT.

DISPLAY "abcdef" AT ROW 5 COL 1 WITH FRAME f1 SIZE 10 BY 10.
PAUSE.
PUT SCREEN ROW 17 COL 1 "1".

Output Case 4, before pause:

Output Case 4, after pause:

The default STATUS line for editing is re-displayed underneath the PUT SCREEN output.

Also available in: Atom PDF