AttributeSeparator: Char;
AttributeSeparator: ushort;
The AttributeSeparator property determines a separator between attribute names.
The property is relevant if the IDimensionViewer.MultipleAttributes property is set to True.
Executing the example requires a form containing the components:
DimensionTree with the DimensionTree1 identifier.
UiDimension with the UiDimension1 identifier that is a data source for DimensionTree1.
A table dictionary must also be present that is a data source for UiDimension1. The dictionary does not contain hidden attributes.
Sub UserProc;
Begin
// Set whether several dictionary attributes are displayed
DimensionTree1.MultipleAttributes := True;
// Change separator type
DimensionTree1.AttributeSeparator := '\';
End Sub UserProc;
After executing the example it is available to display several dictionary attributes and change separator type.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.
Public Sub UserProc();
Begin
// Set whether several dictionary attributes are displayed
DimensionTreeNet1.CtrlBox.MultipleAttributes := True;
// Change separator type
DimensionTreeNet1.CtrlBox.AttributeSeparator := 0;
End Sub UserProc;
See also: