piMaxResults - cWebSuggestionForm
Limits the number of items displayed in a suggestion list
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
{ WebProperty=Client }
Property Integer piMaxResults
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet piMaxResults to IntegerVariable |
| Write Access: | WebSet 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.
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.