SftTree/OCX 7.0

SftTreeItems.CharSearchMode Property

Softel vdm, Inc.

Defines the search mode for characters typed by the user.

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

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.

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 searchSftTreeOneChar2, but the search wraps around once the end of the tree control items has been reached.

Comments

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  SftTreeItems Object | Object Hierarchy


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