iOSToolButton.NewDone

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Shared Method

iOSToolButton.NewDone(title As Text) As iOSToolButton

Supported on Mobile (iOS).

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


Shared Method

iOSToolButton.NewDone(image As iOSImage) As iOSToolButton

Supported on Mobile (iOS).

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)