- User Defined Controls
/documentation/pages/Guides/Desktop/Xdialog/Controls/User Defined Controls.xml
The following section gives examples of User Defined Controls (UDCs) on a form. The sample forms and Xbasic scripts can be found in the Samples\Xbasic directory off the directory in which Alpha Five was installed. Open the Xbasic database in this directory.
- User-Defined Watch Events
/documentation/pages/Index/Old Feature Peeks/User-Defined Watch Events.xml
- Global (User Defined) Functions
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic/Global User Defined Functions.xml
Like the properties and methods and events of objects, the functions you saw in the previous section are all built-in to Alpha Four. Like object methods, you can call a function to accomplish a pre-designated task. Object events, however, you can define yourself. You control what happens when you write Xbasic code for an object event.
- Custom and User-Defined Custom Components
/documentation/pages/Guides/Mobile and Web Components/Custom/index.xml
- User-Defined Functions
It is also possible to define and use functions of your own.
- File Upload - User Defined
Upload one or more files to the server. A server-side event then gets called to allow you to process the uploaded files.
- Date/Time Picker Properties
/documentation/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Grid Field Properties/Control Properties/Date Picker Properties.xml
A date picker is a variation on a TextBox control. The date picker option appears in a TextBox control if the grid is updatable.
- Display text for NULL values
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Props/Data/List Properties/listprops/List Prop/ListProp/Display text for NULL values.xml
If your data has NULL values, you can now specify the text to show for the NULL values. For example, you might want to show n/a for null values.
- Prompting for User Input
/documentation/pages/Guides/Desktop/Design/View/Form/Prompting for User Input.xml
When you use variables in an expression, you can use a special type of variable that prompts you for a value when the expression is evaluated. These variables, called Ask variables, can be used just like any other variable. When Alpha Anywhere encounters an Ask variable, an input dialog box appears requesting that you type in a value. The expression result will depend upon the value you enter. The outcome of a query, the filter expression for an export, and the value of an update expression are all examples of operations and expressions which can be based on an Ask variable.
- UX Component - User-Defined Sub-Themes