DragnDropFromControl

Function Name c:<CONTROL-NAME>#OnDragnDropFromControl
Syntax   (defun c:<CONTROL-NAME>#OnDragnDropFromControl (ProjectName [as String] FormName [as String] ControlName [as String] DropPoint [as Varies] /)
)
Return Type Ignored
Applies To Block List, Block View, DWG List, DWG Preview, Graphic Button, Hatch, Label, List Box, List View, Picture Box, Slide View, Text Box, Text Button, Tree

当用户通过放到此控件上从另一个OpenDCL控件完成拖放操作时触发此事件。 ProjectName,FormName和ControlName参数标识启动拖动操作的控件。 在大多数情况下,DropPoint参数是一个2DPoint ,有以下例外。

Control Receiving Drop DropPoint Argument
Tree Control with item keys String (key of item at drop point)
Tree Control without item keys Handle (handle of item at drop point)
All other controls 2DPoint (drop point in control client coordinates)