IRdsDictionaryBox.AdjustWidthOnlyVisible

Syntax

AdjustWidthOnlyVisible: Boolean;

Description

The AdjustWidthOnlyVisible property determines the method of column width autofit.

Comments

Available values:

To automatically adjust width, double click the border between the columns.

Example

Executing the example requires a form containing:

The example is a handler of the OnClick event for the Button1 button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    RdsDictionaryBox1.AdjustWidthOnlyVisible := ChB_Adjust.Checked;
    RdsDictionaryBox1.ShowHeaderButton := ChB_Header.Checked;
    RdsDictionaryBox1.HighlightTrack := ChB_Highlight.Checked;
End Sub Button1OnClick;

After executing the example parameters of RdsDictionaryBox1 are set in accordance with checkboxes' states:

If the checkbox is selected, respective property is set to True, if the checkbox is not selected, the property is set to False.

See also:

IRdsDictionaryBox