constants AutoDragEnum
The AutoDragEnum type indicates what the control does when the user clicks and start dragging a row or an item. The AutoDrag property indicates the way the component supports the AutoDrag feature. The AutoDrag feature indicates what the control does when the user clicks an item and start dragging. For instance, using the AutoDrag feature you can automatically lets the user to drag and drop the data to OLE compliant applications like Microsoft Word, Excel and so on. The SingleSel property specifies whether the control supports single or multiple selection. The drag and drop operation starts once the user clicks and moves the cursor up or down, if the SingleSel property is True, and if SingleSel property is False, the drag and drop starts once the user clicks, and waits for a short period of time. If SingleSel property is False, moving up or down the cursor selects the items by drag and drop.

The AutoDragEnum type supports the following values:

 NameValueDescription 
   exAutoDragNone0 AutoDrag is disabled. You can use the OLEDropMode property to handle the OLE Drag and Drop event for your custom action.  
   exAutoDragPosition1 The item can be dragged from a position to another, but not outside of its group. If your items are arranged as a flat list, no hierarchy, this option can be used to allow the user change the item's position at runtime by drag and drop. This option does not change the parent of any dragged item. The dragging items could be the focused item or a contiguously selection. Click the selection and moves the cursor up or down, so the position of the dragging items is changed. The draggable collection is a collection of sortable items between 2 non-sortable items ( SortableItem property ). The drag and drop operation can not start on a non-sortable or non-selectable item ( SelectableItem property ). In other words, you can specify a range where an item can be dragged using the SortableItem property. Just set the SortableItem property on False, for margins, and so the items can be dragged between these items only.   
   exAutoDragPositionKeepIndent2 The item can be dragged to any position or to any parent, while the dragging object keeps its indentation. This option can be used to allow the user change the item's position at runtime by drag and drop. In the same time, the parent's item could be changed but keeping the item's indentation. The dragging items could be the focused item or a contiguously selection. Click the selection and moves the cursor up or down, so the position or parent of the dragging items is changed. The drag and drop operation can not start on a non-sortable or non-selectable item ( SelectableItem property ). In other words, you can specify a range where an item can be dragged using the SortableItem property. Just set the SortableItem property on False, for margins, and so the items can be dragged between these items only.  
   exAutoDragPositionAny3 The item can be dragged to any position or to any parent, with no restriction. The dragging items could be the focused item or a contiguously selection. The parent of the dragging items could change with no restrictions, based on the position of the dragging item. Click the selection and moves the cursor up or down, so the position or parent of the dragging items is changed. Click the selection and moves the cursor left or right, so the item's indentation is decreased or increased. The drag and drop operation can not start on a non-sortable or non-selectable item ( SelectableItem property ). In other words, you can specify a range where an item can be dragged using the SortableItem property. Just set the SortableItem property on False, for margins, and so the items can be dragged between these items only.

Click here to watch a movie on how exAutoDragCopyText works.

 
   exAutoDragCopy8 Drag and drop the selected items to a target application, and paste them as image or text. Pasting the data to the target application depends on the application. You can use the exAutoDragCopyText to specify that you want to paste as Text, or exAutoDragCopyImage as an image.  
   exAutoDragCopyText9 Drag and drop the selected items to a target application, and paste them as text only. Ability to drag and drop the data as text, to your favorite Office applications, like Word, Excel, or any other OLE-Automation compliant. The drag and drop operation can start anywhere 

Click here to watch a movie on how exAutoDragCopyText works.

 
   exAutoDragCopyImage10 Drag and drop the selected items to a target application, and paste them as image only. Ability to drag and drop the data as it looks, to your favorite Office applications, like Word, Excel, or any other OLE-Automation compliant. The drag and drop operation can start anywhere 

Click here to watch a movie on how exAutoDragCopyImage works.

 
   exAutoDragCopySnapShot11 Drag and drop a snap shot of the current component. This option could be used to drag and drop the current snap shot of the control to your favorite Office applications, like Word, Excel, or any other OLE-Automation compliant.  
   exAutoDragScroll16 The component is scrolled by clicking the item and dragging to a new position. This option can be used to allow user scroll the control's content with NO usage of the scroll bar, like on your IPhone. Ability to smoothly scroll the control's content. The feature is useful for touch screens or tables pc, so no need to click the scroll bar in order to scroll the control's content. Use the ScrollBySingleLine property on False, to allow scrolling pixel by pixel when user clicks the up or down buttons on the vertical scroll bar. By default, the scrolling starts as soon as user clicks an item. If the cursor hovers a bar or AllowCreateBar property is not exNoCreateBar, click and wait for a second to start scrolling the chart.

Click here or to watch a movie on how exAutoDragScroll works.

 
   exAutoDragPositionOnShortTouch256 The object can be dragged from a position to another, but not outside of its group.  
   exAutoDragPositionKeepIndentOnShortTouch512 The object can be dragged to any position or to any parent, while the dragging object keeps its indentation.  
   exAutoDragPositionAnyOnShortTouch768 The object can be dragged to any position or to any parent, with no restriction.  
   exAutoDragCopyOnShortTouch2048 Drag and drop the selected objects to a target application, and paste them as image or text.  
   exAutoDragCopyTextOnShortTouch2304 Drag and drop the selected objects to a target application, and paste them as text only.  
   exAutoDragCopyImageOnShortTouch2560 Drag and drop the selected objects to a target application, and paste them as image only.  
   exAutoDragCopySnapShotOnShortTouch2816 Drag and drop a snap shot of the current component.  
   exAutoDragScrollOnShortTouch4096 The component is scrolled by clicking the object and dragging to a new position.  
   exAutoDragPositionOnRight65536 The object can be dragged from a position to another, but not outside of its group.  
   exAutoDragPositionKeepIndentOnRight131072 The object can be dragged to any position or to any parent, while the dragging object keeps its indentation.  
   exAutoDragPositionAnyOnRight196608 The object can be dragged to any position or to any parent, with no restriction.  
   exAutoDragCopyOnRight524288 Drag and drop the selected objects to a target application, and paste them as image or text.  
   exAutoDragCopyTextOnRight589824 Drag and drop the selected objects to a target application, and paste them as text only.  
   exAutoDragCopyImageOnRight655360 Drag and drop the selected objects to a target application, and paste them as image only.  
   exAutoDragCopySnapShotOnRight720896 Drag and drop a snap shot of the current component.  
   exAutoDragScrollOnRight1048576 The component is scrolled by clicking the object and dragging to a new position.  
   exAutoDragPositionOnLongTouch16777216 The object can be dragged from a position to another, but not outside of its group.  
   exAutoDragPositionKeepIndentOnLongTouch33554432 The object can be dragged to any position or to any parent, while the dragging object keeps its indentation.  
   exAutoDragPositionAnyOnLongTouch50331648 The object can be dragged to any position or to any parent, with no restriction.  
   exAutoDragCopyOnLongTouch134217728 Drag and drop the selected objects to a target application, and paste them as image or text.  
   exAutoDragCopyTextOnLongTouch150994944 Drag and drop the selected objects to a target application, and paste them as text only.  
   exAutoDragCopyImageOnLongTouch167772160 Drag and drop the selected objects to a target application, and paste them as image only.  
   exAutoDragCopySnapShotOnLongTouch184549376 Drag and drop a snap shot of the current component.  
   exAutoDragScrollOnLongTouch268435456 The component is scrolled by clicking the object and dragging to a new position.  
 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.