Project

General

Profile

frame-focus.p

Vladimir Tsichevski, 04/04/2022 12:19 PM

Download (232 Bytes)

 
1
// Test frame shall receive focus
2

    
3
DEFINE FRAME f
4
   WITH SIZE 500 BY 500 TITLE "Test frame focus"
5
   BGCOLOR 5.
6

    
7
ON ANY-KEY OF FRAME f DO:
8
   MESSAGE "Key pressed".
9
END.
10

    
11
ENABLE ALL WITH FRAME f.
12

    
13
WAIT-FOR CLOSE OF THIS-PROCEDURE.