TDragManager class
The abstract base class used to manage dragging of controls (for drop or dock operations).
Declaration
TDragManager = class(TComponent)Inheritance
- TDragManager
- TComponent
- TPersistent
- TObject
Description
TDragManager specifies an object-oriented version of the Delphi drag manager. It is implemented by the TDragManagerDefault descendant.
Properties
DragImmediate | public | Start dragging immediately on MouseDown. |
DragThreshold | public | The threshold for mouse movement before delayed dragging starts (default is 5 pixels). |
Methods
KeyUp | protected | Handler for keyboard key released. |
KeyDown | protected | Handler for keyboard key pressed. |
CaptureChanged | protected | Aborts the dragging operation when the capture control has changed. |
MouseMove | protected | Generates visual feedback for mouse movement in a drag operation. |
MouseUp | protected | Ends a drag operation when a mouse up event has occurred. |
MouseDown | protected | Performs actions when the drag manager needs to respond to a mouse button down event. |
Create | public | Initializes the drag parameters to Delphi-compatible values. |
IsDragging | public | Check if dragging is in progress. |
Dragging | public | Indicates whether the specified control is the active drag object in the drag manager. |
RegisterDockSite | public | Adds the control to the list of registered docking sites. |
DragStart | public | Starts a drag operation for a control. |
DragStartAfterDelay | public | |
DragMove | public | Updates the visual dragging feedback. |
DragStop | public | Ends dragging. |
CanStartDragging | public | Indicates if the mouse coordinates are within the drag threshold for the specified control. |
Inherited
From TComponent (75)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo Destroy DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (37)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
