Difference between revisions of "iOSMobileTable.RowActionSelected"
From Xojo Documentation
Line 39: | Line 39: | ||
End Select | End Select | ||
</rbcode> | </rbcode> | ||
+ | |||
+ | ==See Also== | ||
+ | [[iOSMobileTableRowAction]] class and [[iOSMobileTableDataSourceEditing]] interface. |
Revision as of 21:58, 3 November 2020
Event
iOSMobileTable.RowActionSelected(section As Integer, row As Integer, actionTag As Variant)
Supported on Mobile.
Supported on Mobile.
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 iOSMobileTableRowAction 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 iOSMobileTableDataSourceEditing and where its [iOSMobileTableDataSourceEditing.RowIsEditable|RowIsEditable]] method returns True.
Sample Code
Check the actionTag parameter:
Select actionTag
Case "More"
// ... show more info
Case "Delete"
// ... delete something
End Select
Case "More"
// ... show more info
Case "Delete"
// ... delete something
End Select
See Also
iOSMobileTableRowAction class and iOSMobileTableDataSourceEditing interface.