#include "Forms.h"
FORM ID Form1 AT (2 2 156 156)
USABLE
MODAL
HELPID Help1
BEGIN
TITLE "Forms 1/4 (Modal)"
LABEL "This is a label" ID 2000 AT (CENTER 20) FONT 1
LABEL "Those are individual buttons" ID 2000 AT (CENTER PREVBOTTOM+10) FONT 1
BUTTON "Frame" ID 2001 AT (CENTER PREVBOTTOM+10 AUTO AUTO) FRAME
BUTTON "NoFrame" ID 2002 AT (CENTER PREVBOTTOM+4 AUTO AUTO) NOFRAME
BUTTON "BoldFrame" ID 2003 AT (CENTER PREVBOTTOM+4 AUTO AUTO) BOLDFRAME
BUTTON "Disabled" ID 2004 AT (CENTER PREVBOTTOM+4 100 AUTO) DISABLED
BUTTON "Next" ID Next AT (CENTER@50 PREVBOTTOM+10 AUTO AUTO)
BUTTON "Exit" ID Exit AT (CENTER@120 PREVTOP AUTO AUTO)
END
FORM ID Form2 AT (2 2 156 156)
USABLE
MODAL
HELPID Help1
BEGIN
TITLE "Forms 2/4 (Modal)"
LABEL "Those are GROUPED buttons" ID 2010 AT (CENTER 20) FONT 1
PUSHBUTTON "1st" ID 2011 AT (CENTER@40 PREVBOTTOM+2 AUTO AUTO) GROUP 1
PUSHBUTTON "2nd" ID 2012 AT (CENTER@80 PREVTOP AUTO AUTO) GROUP 1
PUSHBUTTON "3rd" ID 2013 AT (CENTER@120 PREVTOP AUTO AUTO) GROUP 1
LABEL "Now single checkboxes..." ID 2020 AT (CENTER PREVBOTTOM+8) FONT 1
CHECKBOX "Unchecked" ID 2021 AT (CENTER@50 PREVBOTTOM+2 AUTO AUTO)
CHECKBOX "Checked" ID 2022 AT (CENTER@110 PREVTOP AUTO AUTO) CHECKED
CHECKBOX "Disabled" ID 2023 AT (CENTER PREVBOTTOM+2 AUTO AUTO) DISABLED
LABEL "... And grouped ones" ID 2030 AT (CENTER PREVBOTTOM+8) FONT 1
CHECKBOX "1st" ID 2031 AT (CENTER@40 PREVBOTTOM+2 AUTO AUTO) GROUP 1
CHECKBOX "2nd" ID 2032 AT (CENTER@80 PREVTOP AUTO AUTO) GROUP 1
CHECKBOX "3rd" ID 2033 AT (CENTER@120 PREVTOP AUTO AUTO) GROUP 1
BUTTON "Prev" ID Prev AT (CENTER@40 PREVBOTTOM+10 AUTO AUTO)
BUTTON "Next" ID Next AT (CENTER@80 PREVTOP AUTO AUTO)
BUTTON "Exit" ID Exit AT (CENTER@120 PREVTOP AUTO AUTO)
END
FORM ID Form3 AT (2 2 156 156)
USABLE
HELPID Help1
BEGIN
TITLE "Forms 3/4 (Non Modal)"
LABEL "List" AUTOID AT (CENTER 20) FONT 1
LIST "English" "Spanish" "German" "French" ID 2042 AT
(CENTER@120 PREVTOP 52 1) VISIBLEITEMS 2
LABEL "Repeat button & field" AUTOID AT (CENTER PREVBOTTOM+8) FONT 1
REPEATBUTTON "-" ID Form3Minus AT (CENTER@50 PREVBOTTOM+2 AUTO AUTO)
FIELD ID Form3Count AT (CENTER@80 PREVTOP 24 AUTO)
NONEDITABLE UNDERLINED MAXCHARS 4
REPEATBUTTON "+" ID Form3Plus AT (CENTER@110 PREVTOP AUTO AUTO)
LABEL "Bitmap" AUTOID AT (CENTER PREVBOTTOM+8) FONT 1
FORMBITMAP AT (80-(32/2) PREVBOTTOM+2) BITMAP Bitmap
BUTTON "Prev" ID Prev AT (CENTER@40 PREVBOTTOM+16 AUTO AUTO)
BUTTON "Next" ID Next AT (CENTER@80 PREVTOP AUTO AUTO)
BUTTON "Exit" ID Exit AT (CENTER@120 PREVTOP AUTO AUTO)
END
BITMAP ID Bitmap "forms.bmp"
STRING Help1 "This is a demonstration of forms programming for PalmOS."
ICON "forms.bmp"
SMALLICON "formssmall.bmp"
VERSION 1 "1.0.0"
LAUNCHERCATEGORY ID 1000 "Tutorial"
|