phoKeyBuddy - cWebList
When set to point to another control, the WebList will respond to keystrokes performed while the other control has the focus
Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None
Syntax
Property Handle phoKeyBuddy
| Access Type | Syntax |
|---|---|
| Read Access: | Get phoKeyBuddy to HandleVariable |
| Write Access: | Set phoKeyBuddy to HandleVariable/Value |
Description
When set to point to another control, the WebList will respond to keystrokes performed while the other control has the focus.
This is especially useful when using the cWebList in combination with a search form. Combining this with a cWebSuggestionForm and a cWebFloatingPanel allows the creation of a custom suggestion form where the user can select the record using the cursor keys and enter without leaving the form.
Note that this property needs to be set on initialization before the control is loaded to the client. The OnLoad event is the last chance to set the property.