The following parameters are available to set up value editor using binding string:
Name of the parameter |
Type | Description | Mandatory |
VALUE | Logical | Default value. Available values:
|
None |
Logical values are set as a character string of the ON/OFF or the True/False type.
If the Value parameter is not set, the False value is used.
UI="BooleanCombo" VALUE="True"
Executing the example requires a form with the button named Button1 on it, the TabSheetBox component and the UiTabSheet component named UiTabSheet1, which is the data source for TabSheetBox.
Class TestForm: Form
Button1: Button;
UiTabSheet1: UiTabSheet;
TabSheetBox1: TabSheetBox;
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
UiTabSheet1.TabSheet.Cell(0, 0).Style.Binding := "UI=""BooleanCombo"" VALUE=""True""";
End Sub Button1OnClick;
End Class TestForm;
On clicking the button, logic value editor is set for the A0 cell. By default the True value is used.