- Dynamic Properties
All layout types now support 'Dynamic Properties'. Dynamic Properties allow you to define an expression that sets the value of a Layout property (e.g. the color of the border around a control). Here are some examples of the kind of customization that Dynamic Properties makes incredibly easy (some of these tasks can be accomplished in V9, but require Xbasic programming):
- 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.
- Lookup Property
/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Grid Field Properties/Lookup/Lookup.xml
When checked, makes the Textbox or Textarea control able to open a secondary lookup grid and retrieve field values.
- Use combo boxes
/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Grid Field Properties/CalendarProperties/usecomboboxes.xml
Specify if the calendar should show combo boxes for the year and month picker.
- Rollup Modeless Dialog Boxes
/pages/Guides/Desktop/Xdialog/Rollup Modeless Dialog Boxes.xml
The following example shows how to create a modeless dialog that can be rolled up to occupy less screen space. This type of dialog box is frequently used for toolboxes.
First define the two variations of the <<%dlg%...%dlg% code for dialog boxes, using the same button names.
- Lookup Properties
/pages/Guides/Mobile and Web Components/UX/Controls/Props/other/Form Properties/Form properties/Fields/Lookup/index.xml
- Combo Box Control Methods
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Combo Box/Combo Box Control Methods.xml
The Combo Box Control has the following methods. The combo box control methods are used with a pointer to the control in the following way: .METHOD(). Refer to Retrieving a Pointer to a Control for techniques for getting a pointer.
- Lookup Columns
/pages/Guides/Mobile and Web Components/UX/Controls/Props/Data/List Properties/listprops/List Prop/lookupCol/index.xml
- Open a UX component to Edit Current Record in Grid, or add a new Record
Open an UX component in a pop-up window, or in a DIV on the current page, to edit the current row in a Grid component or to enter a new record.
(Only new Ajax Components can be opened. Old Dialogs in V10 and earlier are not supported.)
- Combo Box Control Syntax
/pages/Ref/Desktop_Api/UI Functions/XDialog/Controls/Combo Box/Combo Box Control Syntax.xml
The value of Variable_Name is a base-1 index if the variable is declared as Numeric. If undeclared or left un-initialized, the variable is a string that returns the text of the choice that is selected.