iOSView.ToolbarPressed
From Xojo Documentation
Event
Called when a button on the left or right Navigation Bar or the Toolbar is pressed.
Sample Code
Check for a button pressed based on its caption:
Select Case button.Caption
Case "Save"
// call save code
Case "Edit"
// call edit code
End Select
Case "Save"
// call save code
Case "Edit"
// call edit code
End Select
Check for a button pressed based on its name:
Select Case button.Caption
Case SaveButton
// call save code
Case EditButton
// call edit code
End Select
Case SaveButton
// call save code
Case EditButton
// call edit code
End Select
Check for a button pressed based on its type:
Select Case button.Type
Case iOSToolButton.Types.SystemSave
// call save code
Case iOSToolButton.Types.SystemEdit
// call edit code
End Select
Case iOSToolButton.Types.SystemSave
// call save code
Case iOSToolButton.Types.SystemEdit
// call edit code
End Select