wp
73921e08ee
LCL: Enable floating toolbar to dock back to original coolbar after undocking from it (patch by Andrey Zubarev), Issue #0032027
...
git-svn-id: trunk@55447 -
2017-07-04 21:42:13 +00:00
wp
f6cc92a276
LCL/Docking of coolbars/controlsbars: Rename DragManager.IsCanStartDragging to .CanStartDragging. Proposed by Alexey.
...
git-svn-id: trunk@55429 -
2017-07-03 13:19:05 +00:00
wp
f06f1ef334
LCL: Improved docking of coolbar/controlbar (more patches by Andrey Zubarev), Issue #32027
...
git-svn-id: trunk@55426 -
2017-07-02 20:29:55 +00:00
wp
39d4577487
LCL: Improved docking of coolbar/controlbar (patches by Andrey Zubarev), Issue #0032027
...
git-svn-id: trunk@55423 -
2017-07-02 08:27:15 +00:00
paul
2b9bef5afa
lcl: move TWSControl.DragStart to TWSCustomListBox.DragStart because of limitation of TWS classes
...
git-svn-id: trunk@42631 -
2013-09-06 07:29:10 +00:00
paul
2743011353
lcl: fix ListBox onChange call on win32 (mantis #0020324 )
...
- notify TWS class about drag start
- set csLButtonDown before BeginAutoDrag (there is no dependency in LCL for csLButtonDown in BeginAutoDrag so I see no reason to postpone it)
win32:
- send TWM_LButtonUp to windows for ListBox if drag operation is started by mouse down
git-svn-id: trunk@42627 -
2013-09-06 04:58:06 +00:00
paul
0032f227a7
lcl: don't call GetCursorPos() twice while initializing Drag/Dock operation. Use the first time retrieved value.
...
git-svn-id: trunk@42626 -
2013-09-06 02:08:15 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
paul
e4be3b0c67
lcl: fixed a memory leak when canceling drag of dead control
...
git-svn-id: trunk@37371 -
2012-05-21 07:21:48 +00:00
paul
6dc8b8cf94
lcl: don't crash when either DragTarget or dragged control is freed (issue #22067 )
...
git-svn-id: trunk@37369 -
2012-05-21 03:50:06 +00:00
paul
8d364b03df
lcl:
...
- Extend FindLCLWindow method by AllowDisabled argument to skip disabled windows
- Fix FindControlAtPosition - it previously ignored AllowDisabled option
- Don't allow disabled window to be an internal MouseControl (fixes bug #0017993 for win32)
git-svn-id: trunk@35204 -
2012-02-07 07:49:42 +00:00
zeljko
e0d1f86ca1
LCL: fixed wrong result from DragManager.IsDragging if we call modal form or dialog from OnDragDrop() event. issues #17657 and #20676
...
git-svn-id: trunk@35181 -
2012-02-06 13:51:19 +00:00
mattias
c7da8d084e
LCL: TDragManagerDefault: check if FPermorer is no more, bug #16959
...
git-svn-id: trunk@26708 -
2010-07-17 08:24:59 +00:00
mattias
feaf0e30be
LCL: TreeView: using normal drag and drop, bug #16876
...
git-svn-id: trunk@26622 -
2010-07-13 13:42:12 +00:00
mattias
afab0bd0c4
anchordocking: fixed nested GetSiteInfo
...
git-svn-id: trunk@26340 -
2010-06-30 06:26:56 +00:00
mattias
ac56a26e10
anchordocking: unregister custom docksite on restore
...
git-svn-id: trunk@26339 -
2010-06-30 06:19:19 +00:00
mattias
c702020f12
LCL: docking: debugging
...
git-svn-id: trunk@26065 -
2010-06-12 19:05:26 +00:00
mattias
e2ad22aaa0
LCL: comments
...
git-svn-id: trunk@25796 -
2010-05-31 07:21:19 +00:00
mattias
fb64f40660
LCL: FindDockSiteAtPosition: prefer child before parent and prefer Screen higher Z order
...
git-svn-id: trunk@25783 -
2010-05-30 20:18:49 +00:00
mattias
482773ba4b
LCL; fixed typo
...
git-svn-id: trunk@25546 -
2010-05-20 15:41:42 +00:00
mattias
ca3c600e37
LCL: disabled simple dock move until easydockmanager is capable of it
...
git-svn-id: trunk@25007 -
2010-04-27 14:16:06 +00:00
mattias
947703a391
LCL: fixed simple dock move
...
git-svn-id: trunk@25002 -
2010-04-27 10:44:13 +00:00
mattias
c0ba48b490
LCL: disabled simple dock move code, something is undocking
...
git-svn-id: trunk@25001 -
2010-04-27 10:41:47 +00:00
mattias
496bc473da
LCL: TDockPerformer.DragStop: started simple move
...
git-svn-id: trunk@24938 -
2010-04-25 21:12:36 +00:00
mattias
1aa4e0f860
LCL: calculatepreferredsize: anchored both sides, check for anchor kind when adding preferred width
...
git-svn-id: trunk@24931 -
2010-04-25 19:12:09 +00:00
paul
be1d125c88
lcl: distinct AutoCreated TDragObject and AutoFree TDragObject:
...
- first is created internally by LCL if in DragStart none DragObject is passed
- second is a TDragObject which must be auto destructed on drag drop operation finish
(more delphi compatible and fixes issue #0014476 )
git-svn-id: trunk@21544 -
2009-09-03 00:55:03 +00:00
paul
0b5803fbb1
lcl: fix compilation with fpc 2.5.1
...
git-svn-id: trunk@21275 -
2009-08-18 07:55:13 +00:00
paul
ef2791cdc5
lcl: PositionDockRect only when we move it
...
git-svn-id: trunk@20629 -
2009-06-15 02:58:12 +00:00
paul
9a7b124e9d
lcl: apply "Proper initialization of the docking object" from Hans-Peter Diettrich (issue #0013945 )
...
git-svn-id: trunk@20628 -
2009-06-15 02:18:26 +00:00
paul
4a690c2f5a
lcl: TDockObject: add Dropped property for delphi compatibility (issue #0013427 )
...
git-svn-id: trunk@20067 -
2009-05-20 05:54:07 +00:00
paul
dfb54d7324
lcl: dragmanager: apply patch to support Ctrl key during drag/dock operations from Hans-Peter Diettrich with small modifications (issue #0013427 )
...
git-svn-id: trunk@20066 -
2009-05-20 05:05:38 +00:00
paul
c9a275b3a4
lcl: don't produce false drops during drag/drop operations in case we are still waiting for drag threshold (by Hans-Peter Diettrich, issue #0013675 )
...
git-svn-id: trunk@19842 -
2009-05-08 01:14:00 +00:00
paul
dea006ff6b
lcl: few docking changes by Hans-Peter Diettrich (part of issue #0013427 )
...
git-svn-id: trunk@19436 -
2009-04-15 06:04:15 +00:00
paul
f7577be51b
lcl: move Dock Image handling from the drag manager to the TDragDockObject (part of issue #0013427 )
...
git-svn-id: trunk@19202 -
2009-04-03 05:59:46 +00:00
paul
a395aebafc
lcl: drag/dock (from patch of Hans-Peter Diettrich, issue #0013427 )
...
- add TDragObject.AutoCreate constructor
- add TDragObjectEx, TDragControlObjectEx, TDragDockObjectEx for delphi compatibility
- remove TDragDockCommon.FDragObjectAutoFree, use AutoCreated property of TDragObject instead
- simplify TControl.GetFloating
git-svn-id: trunk@19168 -
2009-03-31 06:47:01 +00:00
paul
a3b8501d07
lcl: don't corrupt key handling by drag manager if not needed (bug #0012497 )
...
git-svn-id: trunk@18667 -
2009-02-13 16:34:34 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
9bdd9bd85f
lcl: pass Control instead of TDragControlObject into OnDragXXX events if TDragControlObject has been created automatically (for delphi compatibility) (issue #0001850 )
...
git-svn-id: trunk@14855 -
2008-04-17 06:36:53 +00:00
paul
e79628a20a
calculate DockOffset in screen coordinates
...
git-svn-id: trunk@14374 -
2008-03-03 06:58:12 +00:00
paul
38674222ad
drag-dock: take click position into account when dragging control
...
git-svn-id: trunk@14365 -
2008-03-02 15:02:40 +00:00
paul
952291e8bc
docking: workaround drag/dock start on header (parent get capture and breaks our drag operation)
...
git-svn-id: trunk@14036 -
2008-02-08 19:17:26 +00:00
paul
15151ee192
docking:
...
- refactor dock header part searching
- start handle mouse messages for dock header
git-svn-id: trunk@14034 -
2008-02-08 17:20:40 +00:00
paul
543e960d76
dont use direct call of TControl.DoEndDock from DockPerformer (hint from Marius)
...
git-svn-id: trunk@13971 -
2008-02-04 02:39:25 +00:00
paul
6826699163
drag/drop:
...
- restore CancelDrag
- restore DragManager.EndDrag
git-svn-id: trunk@13952 -
2008-02-02 09:45:19 +00:00
paul
7d5ecafd5e
fix typo in dragmanager (from Marius)
...
git-svn-id: trunk@13750 -
2008-01-14 23:12:48 +00:00
paul
00d2ada452
dragmanager: fix typo
...
git-svn-id: trunk@13747 -
2008-01-14 08:54:39 +00:00
mattias
0da528ffe8
LCL: TLazDockTree: implemented RemoveControl, refactored: TDragManager ancestor to TComponent, fixed undocking
...
git-svn-id: trunk@13673 -
2008-01-08 23:38:14 +00:00
paul
0f9be635f0
- rethink DrawDefaultDockImage: add 3 dock image operation: show, hide and move
...
- implement qt DrawDefaultDockImage
git-svn-id: trunk@13608 -
2008-01-03 15:39:34 +00:00
paul
1c8516a77f
move code from DefaultDockImage to new LCLinf method DrawDefaultDockImage and add Erase parameter (reason: not all widgetset supports on screen drawing and pen ROPs like XOR)
...
git-svn-id: trunk@13607 -
2008-01-03 14:19:54 +00:00
paul
60e3581489
restore TDragObject.AlwaysShowDragImages
...
git-svn-id: trunk@13585 -
2008-01-02 17:33:05 +00:00