Adding Action Buttons

Buttons allow the user to perform tasks on a database record (Create New, Goto Next, Goto Previous, Delete), or to jump from one form to another.
To add an Action Button press the Insert Button button on the 'Form Tools' toolbar. An Action Button will appear on the form, and it's properties window will be displayed.

The 'Button Style' can be set to a pre-defined icon (such as PageUp or PageDn), or as normal text. You can also import your own graphics to overlay a button (another lesson for later).
Enter the 'ButtonText' as 'New' (for new record) for our example

The most powerfull feature about buttons is the ButtonAction property.   A button can perform the following actions when pressed....
-No Action
-Create New Record
-Delete Current Record
-Duplicate Current Record
-Clear All Fields
-Goto First Record
-Goto Previous Record
-Goto Next Record
-Goto Last Record
-Scan Data
-Print
-Jump to a different form.

You can also select to draw a frame around the button if desired
Button Properties Window'

Here's our example application's form with several Action Buttons that will allow the user to scroll up and down the list of URL's.   For our example, add a button (with appropriate 'Button Text') for the following actions.
- Create New Record
- Delete Current Record
- Goto Previous Record
- Goto Next Record

Note: You can add buttons for 'Goto First Record' and 'Goto Last Record' if you really want to get creative!

Form with Label, Text Field, and Action Buttons

OK, You have created an application! And not just a 'Hello World' app.   This program will let you save and review a list of your favorite URLs.
So let's compile and install it on your Palm Pilot!



©2000 PDA Toolbox