button-pressed.p
1 |
DEFINE BUTTON btn1 |
---|---|
2 |
IMAGE-UP FILE "flag.bmp":U no-focus |
3 |
LABEL "" |
4 |
SIZE-pixels 100 by 100 TOOLTIP "A button" . |
5 |
|
6 |
DEFINE BUTTON btn2 |
7 |
IMAGE-UP FILE "flag.bmp":U no-focus flat-button |
8 |
LABEL "" |
9 |
SIZE-pixels 100 by 100 TOOLTIP "A button 2" . |
10 |
|
11 |
DEFINE BUTTON btn3 label "button 3" no-focus. |
12 |
DEFINE BUTTON btn4 label "button 4" no-focus flat-button. |
13 |
|
14 |
DEFINE IMAGE image1 |
15 |
FILE "flag.bmp":U |
16 |
SIZE-pixels 100 by 100. |
17 |
|
18 |
form btn1 at col 5 row 2 space(10) btn2 skip(2) btn3 space(10) btn4 skip(2) image1 with frame fr size-pixels 400 by 400 NO-BOX KEEP-TAB-ORDER OVERLAY |
19 |
SIDE-LABELS NO-UNDERLINE THREE-D bgcolor 12. |
20 |
|
21 |
enable all with frame fr. |
22 |
|
23 |
wait-for close of current-window. |