WebControl.AcceptTextDrop
From Xojo Documentation
Method
WebControl.AcceptTextDrop(acceptedActions 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 accept a picture drop of a WebDragItem.
Notes
Only these controls can accept drops:
- 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 allows a copy or move drop to occur on a text area:
Me.AcceptTextDrop(WebDragItem.DragActionCopy + WebDragItem.DragActionMove)