- Dialog Boxes
Dialog boxes are common in Windows and other software applications, and are typically used for either displaying information, or eliciting a response from a user.
- 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):
- Use combo boxes
/documentation/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.
- Xdialog Text Boxes
/documentation/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
/documentation/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.
- Rollup Modeless Dialog Boxes
/documentation/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.
- Combo Box Control Methods
/documentation/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.
- Combo Box Control Syntax
/documentation/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.
- 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.)
- Auto Commit
/documentation/pages/Guides/Mobile and Web Components/UX/Controls/Props/Data/Ink Properties/Ink properties/Ink Control/Auto Commit.xml
Auto commit the Ink every time the user interacts (draws a stroke or erases).
For larger ink areas, this should be left off. If off, the Ink Editor's .commit() method can be
used to commit the Ink data.