Control dragging method and device
A technology for dragging sources and conditions, applied in the field of dragging, can solve problems such as inability to achieve, and achieve the effect of improving flexibility and controllable layout.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0040] see figure 1 , an embodiment of the present invention provides a control dragging method, including:
[0041] 101: When a control in the first container is dragged out of the first container, acquire properties of the control.
[0042] 102: If the property of the control supports dragging outside the container, remove the control from the first container, and generate a drag source of the control.
[0043] 103: Get the current position of the control when the dragging ends.
[0044] 104: If the position is in the second container, send the drag source of the control to the second container, and the second container decides whether to receive the drag source of the control; if there is no container in the position, the first co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 