OnDefineButton - cWebListSwipeButton
Called for each row when the list data is loaded (if pbDynamic is set to True)
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| ByRef bRender | Boolean | Can be changed to customize the caption for this row |
| ByRef sCaption | String | Can be changed to hide the swipe button for this row |
Syntax
Procedure OnDefineButton ByRef Boolean bRender ByRef String sCaption
Description
This procedure is called for each row when the list data is loaded (if pbDynamic is set to True).
It allows customization of the displayed swipe button by changing the two parameters that are passed by reference. If bRender is set to False, the button will not display on this specific row; changing sCaption changes the caption text displayed on this row.
Note that when manually filling lists, this procedure is only called when LoadGridRow or LoadGridCell are used.