再请E文高手助一臂之力,万分感谢!(30分)

  • 主题发起人 主题发起人 香槟女孩
  • 开始时间 开始时间

香槟女孩

Unregistered / Unconfirmed
GUEST, unregistred user!
1、target
The target property contains a reference to the current target of the user's drag and drop. The property is changed as the user moves over entities. This property is set within the setTarget() method.
2、origin
The origin property contains a reference to the folder from which the object was dragged. Upon the release of the left mouse button without a target, the entity is reverted back to this location. The origin property is set with the begin
Drag() method.
3、enabled
The enabled property initiates the actual drag and drop. This property is set to true when the user drags their mouse a certain amount of pixels with a selected entity. Within this code version, our drag range for initiation is 5 pixels. This property is changed within the move() method.
 
1.Target
Target 属性包含了用户拖放到的当前目标的资料.它将在当用户移动时发生改变.这个属性可以使用 SetTarget()方法来进行设置
2.Origin
Origin 属性包含了对象被拖动后它原来所处的位置. 当在空位置释放鼠标后.对象将被恢复到这个位置上.这个属性可以使用 begin
Drag()方法来进行设置
3.Enabled
Enabled 属性可以设置是否启用实际的拖放. 当用户拖动鼠标并选定了一定的区域后该属性将会被置为 True.在这个代码版本中.这个最小区域是 5 个象素.该属性会在 Move()方法中发生改变.
 
接受答案了.
 
后退
顶部