Skip to content

piMaxResults - cDbCJGridColumnSuggestion

Limits the number of items displayed in a suggestion list

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piMaxResults
Access Type Syntax
Read Access: Get piMaxResults to IntegerVariable
Write Access: Set piMaxResults to IntegerVariable/Value

Description

piMaxResults determines the maximum number of items that will be displayed in a suggestion list. The default is 15, which means your list will always contain 15 or fewer items.

Adjusting this not only changes the number of items displayed, but will impact how long it takes to fill a list for each key press. Therefore, be cautious about setting this value too high.

This property has no effect when peSuggestionMode is smCustom, because the filling and filtering of the suggestion list is then controlled by the developer's code in OnFindSuggestions.