iOSToolButton.NewPlain
From Xojo Documentation
Shared Method
Creates a simple plain button with the specified title.
Shared Method
Creates a simple plain button with the specified image.
Parameters
Parameter | Description |
---|---|
title | The text value to display in the button. |
image | An Image to display in the button. |
Notes
Refer to the Image property for image suggestions.
Sample Code
Add a simple button:
Var b As iOSToolButton
b = iOSToolButton.NewPlain("Invoices")
Self.Toolbar.Add(b) // Add to toolbar on view
b = iOSToolButton.NewPlain("Invoices")
Self.Toolbar.Add(b) // Add to toolbar on view
Add a simple button with an image: