Creating a User Defined Control
/pages/Guides/Desktop/Xdialog/Controls/Creating a User Defined Control.xml
This script shows how to create user-defined controls (based on ActivX controls) that can be used on an Xdialog. The control will be called myControl. Once the control has been defined, it can be placed on the Xdialog using the syntax {myControl=width,heightInstanceVariable} e.g. {myControl=100,20p} where p is a dot variable that defines and instance of the myControl User Defined Control. In this example, we will create a User Defined Control called myControl. This control will have two methods, setHTML()and setCSS().
User Defined Controls
/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 Popup Help in Xdialog
/pages/Guides/Desktop/Xdialog/User-Defined Popup Help in Xdialog.xml
The new a5_showPopupHelp() makes it very easy to put help buttons on an Xdialog that the user can click for additional help. The help can be defined using Xdialog or HTML. (See example in Learning Xdialog.)
Creating a User-defined Component
/pages/Guides/Mobile and Web Components/Custom/Creating a User-defined Component.xml

Follow these steps to create a User-defined Component.

Creating User-defined ControlBar Templates
/pages/Guides/Mobile and Web Components/UX/Controls/Other Controls/ControlBar/UserDefined templates.xml

Templates can be used to create ControlBars in applications. The Save ControlBar as a Template link on the Home tab of the ControlBar is used to create user-defined templates.

Creating a Property Grid for a User-defined Component
/pages/Guides/Mobile and Web Components/Custom/Creating a Property Grid for a User-defined Component.xml
One way to create a Property Grid for a User-defined Component is to use the Property Grid builder in Action Scripting to generate the markup. This is invoked by creating a New Script (using Action Scripting), adding a new action, and selecting Xdialog Windows|Display an Xdialog Box.
Defined Controls
/pages/Guides/Mobile and Web Components/UX/Controls/Defined Controls/index.xml
Defined controls are controls whose functionality has largely been pre-defined. They are ready to use as soon as they are added to a component.
Xdialog Tree Controls
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Tree/index.xml
Syntax for creating Tree controls in an Xdialog.
Specifying User Defined Choices
/pages/Guides/Desktop/Design/View/Layout Control/Specifying User Defined Choices.xml
This topic describes how to enter user defined choices for the following form control types:
User-defined Components
/pages/Guides/Mobile and Web Components/Custom/User-defined Components.xml
A User-defined Component is the more flexible big brother of a Custom Component. Like a Custom Component, a User-defined Component can be opened in a window, a DIV, or a Tabbed UI Pane, in a linked content section of a Grid, and in a row expander of a Grid. Like a Custom Component, a User-defined Component has bindable arguments.