iOSTable.RowAction

From Xojo Documentation

Event


iOSTable.RowAction(section As Integer, row As Integer, actionTag As Auto)

Supported on Mobile (iOS).

A row action has been selected by the user.

Parameters

Parameter Description
section The section containing the row where the action was used.
row The row where the action was used.
actionTag The tag (specified when the iOSTableRowAction was created) that you can use to identify the action that was used.

Notes

Use the actionTag parameter to identify the action that was used.

Row actions only work for tables that use iOSTableDataSourceEditing and where its RowIsEditable method returns True.

Sample Code

Check the actionTag parameter:

Select actionTag
Case "More"
// ... show more info
Case "Delete"
// ... delete something
End Select