Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CharSearchMode Property, SftTree Object

Defines the search mode for characters typed by the user.

Deprecated - Provided for compatibility with earlier versions only - Use Items.CharSearchMode instead

Syntax

Get

VB.NETStyle = object.CharSearchMode As SftTreeCharSearchModeConstants
VBStyle = object.CharSearchMode As SftTreeCharSearchModeConstants
C#.NETSftTreeCharSearchModeConstants Style = object.CharSearchMode;
VC++enum SftTreeCharSearchModeConstants Style = object->CharSearchMode;
enum SftTreeCharSearchModeConstants Style = object->GetCharSearchMode();
CHRESULT object->get_CharSearchMode(enum SftTreeCharSearchModeConstants* Style);

Put

VB.NETobject.CharSearchMode = Style As SftTreeCharSearchModeConstants
VBobject.CharSearchMode = Style As SftTreeCharSearchModeConstants
C#.NETSftTreeCharSearchModeConstants object.CharSearchMode = Style;
VC++enum SftTreeCharSearchModeConstants object->CharSearchMode = Style;
void object->PutCharSearchMode(enum SftTreeCharSearchModeConstants Style);
CHRESULT object->put_CharSearchMode(enum SftTreeCharSearchModeConstants Style);

object

A SftTree object.

Style

Defines the search mode for characters typed by the user.

StyleValueDescription
searchSftTreeOneChar0Starting at the current item, the next item starting with the one single character typed is located and made current. Collapsed parent items are automatically expanded if a match is found. Collapsed parent items are automatically expanded if a match is found. The search ends once the end of the tree control items has been reached.
searchSftTreeAllChars1The first item in the tree control that matches the character(s) typed within a short time period is made current. As the user types additional characters, the search continues. If the user pauses for more than one second, the search ends. The next character typed starts a new search. Collapsed parent items are automatically expanded if a match is found.
searchSftTreeNone2Characters typed are ignored.
searchSftTreeAllChars23Like searchSftTreeAllChars, but does not automatically expand collapsed parent items.
searchSftTreeOneChar24Like searchSftTreeOneChar, but does not automatically expand collapsed parent items.
searchSftTreeOneCharWrap5Like searchSftTreeOneChar, but the search wraps around once the end of the tree control items has been reached.
searchSftTreeOneCharWrap26Like searchSftTreeOneCharWrap, but does not automatically expand collapsed parent items.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.CharSearchMode instead

The CharSearchMode property defines the search mode for characters typed by the user.

The Items.CharSearchColumn property defines the column searched for characters typed by the user.

See Also SftTree Object | Object Hierarchy


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