iOSToolButton.NewDone

From Xojo Documentation

Shared Method

iOSToolButton.NewDone(title As Text) As iOSToolButton

Creates a new "Done" button with the specified title.


Shared Method

iOSToolButton.NewDone(image As iOSImage) As iOSToolButton

Creates a new "Done" 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

This button has a bold appearance.

Refer to the Image property for image suggestions.

Sample Code

Adds a "Done" button the to Navigation Bar:

Var b As iOSToolButton
b = iOSToolButton.NewDone("Done")
Self.RightNavigationToolbar.Add(b)