[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adjust the DockRect relative to the dragging hotspot (DockOffset).
Source position: controls.pp line 494
protected procedure TDragDockObject.AdjustDockRect( |
ARect: TRect |
); virtual; |
ARect |
|
useless, ignore! |
Remark: | The parameter type is bad, should be var. Ignore it please. |
The default implementation adjusts the stored FDockRect, by DockOffset. This adjustment will make the DockRect appear right over the control, when dragging starts, regardless of where the user clicked onto the control.
You'll rarely have to override this method, since the DockRect is adjusted by every target site's DockManager later.
lazarus-ccr.sourceforge.net |