Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.AlignSelection Property

Defines whether the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).

Syntax

Get

VB.NETBoolean = object.AlignSelection As Boolean
VBBoolean = object.AlignSelection As Boolean
C#.NETbool Boolean = object.AlignSelection;
VC++VARIANT_BOOL Boolean = object->AlignSelection;
VARIANT_BOOL Boolean = object->GetAlignSelection();
CHRESULT object->get_AlignSelection(VARIANT_BOOL* Boolean);

Put

VB.NETobject.AlignSelection = Boolean As Boolean
VBobject.AlignSelection = Boolean As Boolean
C#.NETbool object.AlignSelection = Boolean;
VC++VARIANT_BOOL object->AlignSelection = Boolean;
void object->PutAlignSelection(VARIANT_BOOL Boolean);
CHRESULT object->put_AlignSelection(VARIANT_BOOL Boolean);

object

A SftBox object.

Boolean

Defines whether the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).

BooleanDescription
TrueThe displayed cell of the selected item in the static portion is aligned with the item's cell in the drop down portion.
FalseThe displayed cell of the selected item in the static portion is not aligned and is displayed left-aligned, without hierarchical information (tree lines, indentation).

Comments

The AlignSelection property defines whether the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).

The AlignSelection property has no effect on the edit control portion, which never shows hierarchical information. The Edit.TextHAlign property can be used to define the horizontal alignment of the text in the edit control portion.

See Also SftBox Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.