SftTree/OCX 7.0

SftTree.CharSearchMode Property

Softel vdm, Inc.

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

Style = object.CharSearchMode  As SftTreeCharSearchModeConstants

VB

Style = object.CharSearchMode  As SftTreeCharSearchModeConstants

C#.NET

SftTreeCharSearchModeConstants Style = object.CharSearchMode;

VC++

enum SftTreeCharSearchModeConstants Style = object->CharSearchMode;
enum SftTreeCharSearchModeConstants Style = object->GetCharSearchMode();

C

HRESULT object->get_CharSearchMode(enum SftTreeCharSearchModeConstants* Style);

Delphi

Style := object.CharSearchMode  : TOleEnum;

Put

VB.NET

object.CharSearchMode = Style  As SftTreeCharSearchModeConstants

VB

object.CharSearchMode = Style  As SftTreeCharSearchModeConstants

C#.NET

SftTreeCharSearchModeConstants object.CharSearchMode = Style;

VC++

enum SftTreeCharSearchModeConstants object->CharSearchMode = Style;
void object->PutCharSearchMode(enum SftTreeCharSearchModeConstants Style);

C

HRESULT object->put_CharSearchMode(enum SftTreeCharSearchModeConstants Style);

Delphi

object.CharSearchMode := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the search mode for characters typed by the user.

Style

Value

Description

searchSftTreeOneChar 

0

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

searchSftTreeAllChars 

1

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

searchSftTreeNone

2

Characters typed are ignored.

searchSftTreeAllChars2

3

Like searchSftTreeAllChars, but does not automatically expand collapsed parent items.

searchSftTreeOneChar2

4

Like searchSftTreeOneChar, but does not automatically expand collapsed parent items.

searchSftTreeOneCharWrap

5

Like searchSftTreeOneChar, but the search wraps around once the end of the tree control items has been reached.

searchSftTreeOneCharWrap2

6

Like 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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com