IRdsDictionaryBox.AdjustWidthOnlyVisible

Fore Syntax

AdjustWidthOnlyVisible: Boolean;

Fore.NET 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.

Fore 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.

Fore.NET Example

Executing the example requires a .NET form that contains:

The example is a handler of the Click event for the button1 button.

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
    rdsDictionaryBoxNet1.CtrlBox.AdjustWidthOnlyVisible := ChB_Adjust.Checked;
    rdsDictionaryBoxNet1.CtrlBox.ShowHeaderButton := ChB_Header.Checked;
    rdsDictionaryBoxNet1.CtrlBox.HighlightTrack := ChB_Highlight.Checked;
End Sub;

After executing the example parameters of rdsDictionaryBoxNet1 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. The checkboxes and controlled properties are described in the result of Fore Example execution.

See also:

IRdsDictionaryBox