Label.Selectable

From Xojo Documentation

Property (As Boolean )


aLabel.Selectable = newBooleanValue
or
BooleanValue = aLabel.Selectable

New in 2010r2

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 Cocoa and Linux is supported.

Sample Code

This code turns on Selectable:

Me.Selectable = True