iOSMobileTableRowAction.Constructor(style As Styles, title As String, Optional tag As Variant)
From Xojo Documentation
Constructor
Create a new row action that can be returned in iOSMobileTable.ApplyActionsForRow.
Parameters
Parameter | Description |
---|---|
style | A value from the Styles enum to indicate how the row action displays. |
title | The title of the button. This is displayed to the user and therefore should be localized. |
tag | A value to associate with the action. This value will be passed into the iOSMobileTable.RowActionSelected event and allows you to determine which action was selected. As an Auto, there are no limitations on the value you supply. |
Sample Code
Creates a single action to delete a row (code in in iOSMobileTable.ApplyActionsForRow event):