pbAutoSearch - cWebList
Determines whether the search dialog will popup automatically when the user starts typing
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
{ WebProperty=Client }
Property Boolean pbAutoSearch
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet pbAutoSearch to BooleanVariable |
| Write Access: | WebSet pbAutoSearch to BooleanVariable/Value |
Description
If True, the search dialog will popup automatically when the user starts typing. Upon completion, the list will search for that value.
If the list is manual and static, the popup and the search occurs on the client.
If the list is automatic (peDbGridType = gtAutomatic and pbDataAware = True), the search must take place on the server by searching for the data from your database. The client does this by sending the OnSearch event to the cWebList object passing the search text.
A search dialog can also be invoked by sending the Search message from the server.
By default, pbAutoSearch is False in the cWebGrid class.
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.