Basic controls
The following table lists the basic controls.
- Column
-
Use columns to divide the form vertically into equal parts. For example, if you add one column, the form is divided into two equal parts; if you add two columns, the form is divided into three equal parts.
- Row
-
Add rows to horizontally divide the form into panels.
See Add rows to a form.
- Cell
-
Add cells to create sections in a form.
See Add cells to a form.
- Label
-
Use a Label control to add descriptive text to a form.
- Text Box
-
Use a Text Box control to create a text field where a user can enter information on the form. Also use a text box to display information, such as the result of a formula or the current date.
- Button
-
Use Button controls to allow users to perform actions, such as submitting a form, querying a database or approving a loan. See Properties of a Button.
Button controls have a predefined set of events that can be invoked when a user clicks a button.
- Table
-
Use a Table control to organize and arrange information or data into rows and columns.
- Drop-Down Lists
-
Use a drop-down list to ensure that the data entered is valid and to help the user complete a form with the responses that the designer intended.
A drop-down list contains a set of predefined (and usually common) options that can be static (hard-coded), retrieved from a table that is bound through a data connection to a table in a database, retrieved from a lookup or redirected from another form.
- Check Box
-
Use check box control to select a particular option from a number of independent choices.
- Radio Button List
-
Use a Radio Button List control to present multiple options that are mutually exclusive and from which the user must select only one. For example, in the Marital Status radio button list, if the Married radio button is selected, the Single, Divorced and Widowed radio buttons are cleared.
- Calendar
-
Use a Calendar control to help users enter correct and valid dates.
- Tab
-
Use a Tab control to group related information on a form. You can configure multiple tab controls on a form and have multiple tabs in each Tab control. Saving an individual tab control saves all tab details.
To manage the data displayed on a tab, use the OnTabLoad event for a tab in a Tab control. The OnTabLoad event ensures that the data displayed on the tab at runtime is the data entered in other controls for that tab. The event also optimizes the performance of form loading, because the events are only triggered when the user clicks the relevant tab.
The events are triggered only once when the user clicks a tab for the first time and not on subsequent clicks. However, events on the first tab of a Tab control are triggered when a form loads because the first tab is loaded and displayed along with the form. - Hyperlink
-
Use a Hyperlink control to provide a link to a URL on a form. For example, a form displaying information about a list of products can include hyperlinks to other web pages displaying more information about those products. Hyperlink controls can point to any web server on the intranet or Internet.
- Image
-
Enhance the look and feel of your forms by adding icons and images to a form or to buttons on a form. See Adding a Button Control to a Form.
TotalAgility supports the following image types:
- Horizontal Rules
-
Use a Horizontal Rule control to enhance the look and feel of a form and denote a change of context. Using Horizontal rules, you can draw lines across the screen to separate sections of a page.
- List
-
Use a List control to show a list of items with swipe options on a phone and tablet. You can add multiple List controls and display them side by side by adding them to multiple columns of a form. A List control is only available for a touch-enhanced Phone or Tablet form; it is not available for a desktop form.
See Properties of a List.
- Chart
-
Use a Chart control to add charts to a form, and create a visual representation of data returned from a query. The chart displays a count of items grouped by fields and a total count of items.
The Chart control is not available for the MFP forms.