MobileToolbar.AddButton

From Xojo Documentation

Method

MobileToolbar.AddButton(value As MobileToolbarButton)

Supported on Mobile.

Adds the button to the end of the toolbar.

Sample Code

Add the Camera button to the right Navigation Bar:

Var cameraButton As New MobileToolbarButton(MobileToolbarButton.Types.Camera)
RightNavigationToolbar.AddButton(cameraButton)