OnSelectControlSuggestion - cWebBaseSelectionForm
Called when an action row is selected from the suggestion popup
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| sRowId | String | Identifier of the selected action row |
| sValue | String | Current filter value in the control |
| iAdditionalItems | Integer | Number of extra items needed by the client |
| iPage | Integer | Suggestion page number to load |
Syntax
Procedure OnSelectControlSuggestion String sRowId String sValue Integer iAdditionalItems Integer iPage
Description
OnSelectControlSuggestion is called when the user selects a server-side action row from the suggestion popup.
The base implementation handles the built-in action rows for showing more suggestions, creating a new item and opening the prompt behavior used by the advanced search action. If you augment this event, forward the message so the built-in action rows keep working.
Procedure OnSelectControlSuggestion String sRowId String sValue Integer iAdditionalItems Integer iPage
Forward Send OnSelectControlSuggestion sRowId sValue iAdditionalItems iPage
If (sRowId = "openDetails") Begin
// Handle an application-specific action row.
End
End_Procedure
See Also