-
Notifications
You must be signed in to change notification settings - Fork 9
/
box.prg
51 lines (27 loc) · 778 Bytes
/
box.prg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// {% LoadHrb( 'lib/tweb/tweb.hrb' ) %}
#include {% TWebInclude() %}
function main()
LOCAL o, oWeb, oBox
DEFINE WEB oWeb TITLE 'Box example' INIT
DEFINE FORM o
o:lDessign := .T.
INIT FORM o
ROW o HALIGN 'center'
COL o GRID 8
BOX oBox ID 'AA' OF o
ROW oBox
SAY VALUE 'Hello' GRID 6 ALIGN 'right' OF oBox
SAY VALUE 'Ep!' GRID 4 OF oBox
SAY VALUE 'Bye' GRID 2 ALIGN 'center' OF oBox
ENDROW oBox
ROW oBox
SAY VALUE 'Bon dia!' GRID 12 ALIGN 'center' OF oBox
ENDROW oBox
ROW oBox HALIGN 'right'
SAY VALUE 'Right' GRID 4 ALIGN 'center' OF oBox
ENDROW oBox
ENDBOX oBox
ENDCOL o
ENDROW o
END FORM o
retu nil