|
|
|
|
|
- Overview
- Controls taken into account by the programmed Drag and Drop
- Principle
- Programmed Drag and Drop - Simplified mode
Drag-and-drop operation set programmatically
The programmed Drag and Drop is used to entirely manage Drag/Drop between the different types of controls. Depending on its type, the control can be source or target of Drag and Drop. This help page presents: Detailed examples for using the programmed Drag and Drop are available: Controls taken into account by the programmed Drag and Drop To perform a programmed Drag and Drop between several controls found in a WINDEV application or in a WEBDEV website: - In the initialization code of the source control:
- Define that a programmed "Drag and Drop" will be performed (DndSource property).
- Define the procedure run at the beginning of the "Drag" action (DnDEvent for the dndBeginDrag event).
- In the initialization code of the target control:
- Define that a programmed "Drag and Drop" will be performed (DndTarget property).
- Define the procedure run when hovering the control (DnDEvent for the dndDragOver event). In this procedure, you have the ability to define the mouse cursor with DnDCursor.
- Define the procedure run during the "Drop" on the control (DnDEvent for the dndDrop event).
- In each one of the WLanguage procedures called, define the action to run via the "Drag and Drop" functions of WLanguage.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|