WebControl.AllowTextDrag
From Xojo Documentation
Method
WebControl.AllowTextDrag(allowedActions As Integer)
New in 2015r3
Supported for all project types and targets.
New in 2015r3
Supported for all project types and targets.
Allows the control to be dragged as text.
Notes
Only these controls can be dragged:
- WebLabel
- WebTextField
- WebTextArea
- WebSearchField
- WebLink
- WebContainer
- WebImageView
- WebRectangle
- WebCanvas
- WebControlWrapper
Controls which are not draggable and/or droppable will display a message in the Messages pane if any of the drag method are used on them.
Example
This code enables text dragging for a label:
Me.AllowTextDrag(WebDragItem.DragActionCopy)