Xdialog ListBoxes - Dynamically Computing the Display Expression
/pages/Guides/Desktop/Xdialog/Controls/Xdialog ListBoxes Dynamically Computing the Display Expression.xml
A common requirement in an Xdialog is to display a listbox showing data from an array. The array is often a property array, and so the Xdialog displays data from one of the properties in the array. For example, the property array shown below has 'fname' and 'lname' properties, and the Xdialog shows the value in the 'lname' property:
Display an Xdialog Box
/pages/Guides/Desktop/Xdialog/Display an Xdialog Box.xml
Procedure for displaying an xdialog box:
Computing the Size of an Embedded Dialog
/pages/Guides/Desktop/Xdialog/Computing the Size of an Embedded Dialog.xml
This script demonstrates how the size of a parent dialog box can be automatically calculated with the UI_INFO_DLG_DEF_CLIENT_HEIGHT()and UI_INFO_DLG_DEF_CLIENT_WIDTH()functions so that the embedded dialog box that it contains can be displayed correctly, without clipping any portion of the embedded dialog box. This statement creates some content for the embedded list box.
Xdialog Listboxes - Horizontal Scrolling
/pages/Guides/Desktop/Xdialog/Controls/Xdialog Listboxes Horizontal Scrolling.xml
Xdialog listboxes now has horizontal scrolling. To turn on horizontal scrolling, you must use the 'H' directive, as shown in the example below:
ListBoxes - Owner-Draw HTML ListBoxes
/pages/Guides/Desktop/Xdialog/Owner-Draw HTML ListBoxes.xml
You can now use HTML in a standard Xdialog Listbox. To use HTML, you use the 'HTML' directive in the Listbox definition.
Xdialog Combo Boxes
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Combo Box/index.xml
Directives for creating Combo Box controls in an Xdialog.
Xdialog Text Boxes
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Text Box/index.xml
Syntax for creating Text Box controls, including Static and Dynamic Text, in an Xdialog.
Selecting the Fields to Display
/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Selecting the Fields to Display.xml
Selecting fields, refreshing the fields list, adding and deleting fields, moving fields, and using the editable feature.
Dynamically Changing the Bitmap on a Button
/pages/Guides/Desktop/Design/View/Layout Control/Dynamically Changing the Bitmap on a Button.xml
In order to understand how to dynamically change the bitmap on a button, you will first have to understand more about owner-draw strings by reading the next lesson. The next lesson includes an example on this topic.
Customize Xdialog Genie Dialog Boxes
/pages/Guides/Desktop/Xdialog/Customize Xdialog Genie Dialog Boxes.xml
Alpha Anywhere provides a powerful tool for developers who use Action Scripting to create Xdialogs. When you create an Xdialog with Action Scripting, you now have the ability to modify the Xdialog design in a way completely compatible with Action Scripting. In other words, you can change the design of the dialog box without compromising the ability to edit or reprocess the Action Script.