palm-os-sdk/dana-2.0/examples/Example B - Screen/Rsc/Starter.r
2023-12-18 21:23:56 -03:00

1 line
2.0 KiB
R

/*------- WIDE FORM -----------------*/
resource 'tFRM' (1200, "Main - Wide") {
0,
0,
560,
160,
usable,
notModal,
noSaveBehind,
1200,
0,
1000,
0,
{ /* array ObjectArray: 5 elements */
/* [1] */
1200, "tTTL",
/* [2] */
1201, "tFLD",
/* [3] */
1202, "tCBX",
/* [4] */
1203, "tBTN",
/* [5] */
1204, "tFBM"
}
};
data 'tTTL' (1200) {
$"5374 6172 7465 7241 7070 00" /* StarterApp. */
};
resource 'tFLD' (1201, "TextInput") {
1201,
0,
23,
559,
70,
usable,
editable,
underlined,
notSingleLine,
notDynamicSize,
leftJustified,
3000,
stdFont,
notAutoShift,
notHasScrollbar,
notNumeric
};
resource 'tCBX' (1202, "Simple") {
1202,
560 - 63,
139,
62,
13,
usable,
selected,
0,
stdFont,
"Stay Right"
};
resource 'tBTN' (1203, "OK") {
1203,
11,
140,
36,
12,
usable,
leftAnchor,
frame,
nonBoldFrame,
stdFont,
"OK"
};
resource 'tFBM' (1204, "Globe") {
(560 / 2) - 11,
97,
1000,
usable
};
/*------- TALL FORM -----------------*/
resource 'tFRM' (1300, "Main - Tall") {
0,
0,
160,
499,
usable,
notModal,
noSaveBehind,
1300,
0,
1000,
0,
{ /* array ObjectArray: 5 elements */
/* [1] */
1300, "tTTL",
/* [2] */
1301, "tFLD",
/* [3] */
1302, "tCBX",
/* [4] */
1303, "tBTN",
/* [5] */
1304, "tFBM"
}
};
data 'tTTL' (1300) {
$"5374 6172 7465 7241 7070 00" /* StarterApp. */
};
resource 'tFLD' (1301, "TextInput") {
1201,
0,
23,
160,
399,
usable,
editable,
underlined,
notSingleLine,
notDynamicSize,
leftJustified,
3000,
stdFont,
notAutoShift,
notHasScrollbar,
notNumeric
};
resource 'tCBX' (1302, "Simple") {
1202,
97,
478,
62,
13,
usable,
selected,
0,
stdFont,
"Stay Right"
};
resource 'tBTN' (1303, "OK") {
1203,
11,
478,
36,
12,
usable,
leftAnchor,
frame,
nonBoldFrame,
stdFont,
"OK"
};
resource 'tFBM' (1304, "Globe") {
68,
430,
1000,
usable
};