Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » Tutorial: A Sample Application for AppForge MobileVB

Create a MobileVB project Next Page

Lesson 2: Create a form


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.

To add controls to your project
  1. 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

  2. Check the application:

  3. Your form should look like the following screen capture:

    The application form, showing the buttons, text boxes, and label.