DesktopLabel.Selectable
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Property (As Boolean )
![]() |
This property is only available on macOS and Linux platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
aDesktopLabel.Selectable = newBooleanValue
or
BooleanValue = aDesktopLabel.Selectable
New in 2021r3
Supported for all project types and targets.
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: