OnAddCustomActionButtons - cWebBaseSelectionForm
Event called after suggestions are found to add custom action rows
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| ByRef aItems | tSelectionItem[] | The suggestion item array that can be extended with action rows |
| bLast | Boolean | True if all matching suggestions have been loaded |
| sFilter | String | The value typed by the user |
Syntax
Procedure OnAddCustomActionButtons ByRef tSelectionItem[] aItems Boolean bLast String sFilter
Description
OnAddCustomActionButtons is called after OnFindSuggestions has filled the suggestion list. Augment this event to add application-specific action rows to the suggestion popup.
Call AddCustomActionButton to append an action row.
Procedure OnAddCustomActionButtons tSelectionItem[] ByRef aItems Boolean bLast String sFilter
Forward Send OnAddCustomActionButtons (&aItems) bLast sFilter
If (sFilter <> "") Begin
Send AddCustomActionButton (&aItems) "advancedFilter" "Advanced filter"
End
End_Procedure
See Also