DesktopLabel.Selectable

From Xojo Documentation

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

Property (As Boolean )


aDesktopLabel.Selectable = newBooleanValue
or
BooleanValue = aDesktopLabel.Selectable

New in 2021r3

Supported for all project types and targets.

Use this property to allow the Label caption to be selectable. The default is False.

Notes

You can use the default menu shortcuts to copy the selected text. At this time only macOS and Linux is supported.

Sample Code

This code turns on Selectable:

Me.Selectable = True