iOSToolButton.Enabled

From Xojo Documentation

Property (As Boolean )
aiOSToolButton.Enabled = newBooleanValue
or
BooleanValue = aiOSToolButton.Enabled

Supported on Mobile (iOS).

Enables or disables the button.

Sample Code

Add a disabled "Save" button to the toolbar:

Var saveButton As iOSToolbutton
saveButton = iOSToolButton.NewSystemItem(iOSToolbutton.Types.SystemSave)
saveButton.Enabled = False
Self.Toolbar.Add(saveButton)