ComponentOne VSFlexGrid 8.0
AutoSearch Property

Returns or sets whether the control will search for entries as they are typed.

Syntax

[form!]VSFlexGrid.AutoSearch[ = AutoSearchSettings ]

Remarks

The settings for the AutoSearch property are described below:

 

Constant

Value

Description

FlexSearchNone

0

No auto search.

FlexSearchFromTop

1

When the user types, start searching from The first row.

FlexSearchFromCursor

2

When the user types, start searching from The current row.

 

If AutoSearch is on, the control will search the current column as the user types, automatically moving the cursor and highlighting partial matches. The search is case-insensitive. The search is canceled when the user presses the Escape key or moves the selection with the mouse or cursor keys.

When the user stops typing for about two seconds, the search buffer is reset. This amount of time can be changed by setting the AutoSearchDelay property.

If AutoSearch is on and the Editable property is set to True, the user will need to hit Enter, Space, or F2 to start editing cells. Other keys are used for searching.

This property only affects the behavior of the grid itself. To automatically select options as the user types into a combo list or list box, use the ComboSearch property.

Data Type

AutoSearchSettings (Enumeration)

Default Value

flexSearchNone (0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback