MobileSharingPanel.ShareText

From Xojo Documentation

Method

MobileSharingPanel.ShareText(textToShare As String, parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil)

Supported on Mobile.

Displays the sharing panel to the user, allowing them to share the passed text.

Parameters

Value Description
textToShare The text to share using the sharing panel.
parentScreen The parent screen for the sharing panel.
parentControl The parent control from which a popover appears when the sharing panel is displayed on an iPad.

Sample Code

Share text from a Text Area:

MySharingPanel.ShareText(DescArea.Text, Self, Me)

See Also

SharePicture and ShareURL methods.