The project should display a form after completing the steps in Lesson 1: Create project architecture.
The following procedure uses the form to create a user interface. This example uses labels as outputs, and text boxes and buttons as inputs, similar to a real application.
Add the controls and properties given in the table below to your form:
Type |
Name |
Caption or text |
---|---|---|
AFTextBox |
txtname | |
AFLabel |
lblID | |
AFButton |
btnInsert |
Insert |
AFButton |
btnUpdate |
Update |
AFButton |
btnDelete |
Delete |
AFButton |
btnNext |
Next |
AFButton |
btnPrevious |
Previous |
AFButton |
btnSync |
Synchronize |
AFButton |
btnDone |
End |
Check the application:
Choose MobileVB > Compile and Validate.
Your form should look like the following screen capture: