Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2016-08-31
BEIJING FEINNO COMM TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the current drag-and-drop usually only supports drag-and-drop within the container. The user can drag a control from one position in the container to another position. When the user needs to drag the control to another position outside the container, then can not achieve

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Control dragging method and device
  • Control dragging method and device
  • Control dragging method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for dragging controls, and belongs to the field of dragging technology. The method includes acquiring attributes of a control when the control in a first container is dragged out of the first container; removing the control from the first container if external dragging of the container is supported, and generating a dragging source; acquiring a current position of the control when dragging is completed; transmitting the dragging source to a second container if the current position is in the second container, and enabling the second container to determine whether to accept the dragging source or not; and enabling a business logic layer of the first container to judge whether to process the dragging or not if the current position is not in any container, generating a new container if the dragging is determined to be processed, transmitting the dragging source to the new container and enabling the new container to receive and display the dragging source. The device comprises the first container, and the first container comprises a first processing module and a second processing module. The method and the device have the advantages that the control can be dragged among the containers, and the flexibility of layout of the controls is improved.

Description

technical field [0001] The present invention relates to the technical field of dragging, in particular to a control dragging method and device. Background technique [0002] Currently, many kinds of applications support the drag-and-drop function. Drag and drop is the process of moving some controls in the application from their original position to other positions by dragging and dropping with the mouse or fingers. When the mouse or finger presses a certain control and holds it down to start dragging, the control will move with the movement of the mouse or finger. When the mouse or finger releases the control, the dragging ends and the control stays on the mouse or the position when the finger is released. The user can easily move the control to the specified position by dragging and dropping. [0003] However, the current drag-and-drop usually only supports drag-and-drop within the container. The user can drag a control from one position in the container to another posi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44G06F3/0486
Inventor 胡立宁
Owner BEIJING FEINNO COMM TECH