zeljko
5c16268dbe
LCL: added capfHasScrollOffset in Controls.FindControlAtPosition(), also fixed TGraphicControl.Update, it should take into account parent's scrolloffset if any. issues #12217,#18272
...
git-svn-id: trunk@31577 -
2011-07-06 20:52:09 +00:00
zeljko
649e6241af
LCL: TGraphicControl.Update must be public.
...
Qt: cleanups
git-svn-id: trunk@31503 -
2011-07-02 13:49:54 +00:00
zeljko
23249c0b48
LCL: overrided TControl.Update in TGraphicControl, so it calls Update() only for TGraphicControl client rect, not whole parent handle.
...
git-svn-id: trunk@31132 -
2011-06-08 07:00:02 +00:00
juha
b01be5b936
LCL: Register more Delphi-only properties to skip when loading a project.
...
git-svn-id: trunk@30787 -
2011-05-17 21:56:42 +00:00
juha
fdc466d76d
Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
...
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
paul
bd8eb25ea6
lcl: add mrClose modal result value, map Help button to mrNone result (issue #0019185 )
...
git-svn-id: trunk@30376 -
2011-04-19 03:00:14 +00:00
paul
9b4a80bc9c
lcl: add delphi compatible messages by Stephano (issue #0019134 )
...
git-svn-id: trunk@30356 -
2011-04-18 02:33:18 +00:00
paul
0373c8de84
lcl: make ScrollBy more delphi compatible:
...
- invert direction of scroll
- add TWinControl.ScrollBy to scroll inner controls
- scroll controls in TScrollingWinControl (fixes issue #0016721 )
git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
paul
af80e73948
lcl: implement TControl.DesktopFont, add support for CM_SYSFONTCHANGED
...
git-svn-id: trunk@29879 -
2011-03-17 02:31:57 +00:00
juha
f38190794b
Formatting: joined lines where only ');' was split to its own line, in procedure defs.
...
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
juha
fb73313173
LCL: Remove UTrace unit use from Controls. It was not used elsewhere.
...
git-svn-id: trunk@29825 -
2011-03-13 22:46:29 +00:00
paul
1f90a967b2
lcl: remove 'const' modifier from DoContextPopup declaration for delphi compatibility
...
git-svn-id: trunk@29694 -
2011-03-01 03:57:09 +00:00
mattias
b3a8dd03b1
fixed typos: childs
...
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
24c97c70f6
lcl: declare TCMDesignHitTest message record
...
git-svn-id: trunk@29131 -
2011-01-20 04:43:39 +00:00
paul
7779bd4654
lcl: formatting
...
git-svn-id: trunk@28440 -
2010-11-24 02:40:01 +00:00
paul
fa4ada16f4
lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
...
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00
paul
7854080d5d
lcl: formatting, cleanup
...
git-svn-id: trunk@28339 -
2010-11-19 09:56:17 +00:00
paul
a5f3523e6f
lcl: add DefaultColorType argument to TControlCanvas too
...
git-svn-id: trunk@28307 -
2010-11-18 02:23:34 +00:00
paul
2fd8aba64b
lcl: extent GetDefaultColor function to get default Brush and Font colors
...
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
0db1bd73c2
lcl: add ScalyBy and ChangeScale by Zaher Dirkey (mantis #0017250 )
...
git-svn-id: trunk@28174 -
2010-11-10 06:46:42 +00:00
paul
9bd782a63e
lcl:
...
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
- return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass
git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
bda1a2e021
lcl: if TControlCanvas.Brush.Color = clDefault then use default control color
...
git-svn-id: trunk@28145 -
2010-11-08 04:43:56 +00:00
paul
d35e85a332
win32: restore wm_erasebkgnd default handler after clDefault experiments
...
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls
git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
mattias
1c7a2d7963
LCL: fixed compiling with DebugDisableAutoSizing, bug #17817
...
git-svn-id: trunk@28059 -
2010-11-03 15:33:10 +00:00
mattias
8833bebbb4
LCL: fixed anchoring to invisible control skipping to next side, bug #17320
...
git-svn-id: trunk@27989 -
2010-10-30 20:24:50 +00:00
mattias
5c25c80665
LCL: WidthIsAnchored for alCustom, bug #17764
...
git-svn-id: trunk@27972 -
2010-10-30 11:55:53 +00:00
paul
af66e8e95b
lcl: send CM_CURSORCHANGED on control cursor change, perform cursor change logic in CM_CURSORCHANGED handler
...
git-svn-id: trunk@27936 -
2010-10-29 06:31:42 +00:00
vincents
a3555a84c4
LCL: disable declaration of TTime and TDate for fpc version 2.4.2 and newer. In newer fpc versions those types are declared in the system unit.
...
fixes issue #15474
patch by: Sven Barth
git-svn-id: trunk@27838 -
2010-10-24 19:38:33 +00:00
paul
d5cb0e2fbe
lcl: redo MouseEnter/MouseLeave notifications:
...
- move application mouse events notification from various message handlers to the WND proc of TWinControl
- don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
- don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715 )
- fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner
git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00
paul
7dbd789466
lcl: preserve extra fields when passing lm_mousewheel message to child controls (issue #0014063 )
...
git-svn-id: trunk@27086 -
2010-08-13 02:52:11 +00:00
paul
9dcdaa31d8
lcl: don't perform shortcut check and other double notification in recursive calls of DoKeyDownBeforeInterface
...
git-svn-id: trunk@27084 -
2010-08-13 01:46:31 +00:00
blikblum
69b2b72516
lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
...
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
mattias
f151a8c563
LCL: added more loop detections
...
git-svn-id: trunk@26748 -
2010-07-20 11:25:18 +00:00
mattias
c8ac54f916
LCL: autosize loop detection and raise exception
...
git-svn-id: trunk@26747 -
2010-07-20 09:50:37 +00:00
mattias
4498c3a5b7
LCL: autosize loop detection and raise exception
...
git-svn-id: trunk@26746 -
2010-07-20 09:37:21 +00:00
mattias
9a54775de9
LCL: calling all OnResize to invoke in best case only one more loop instead of one per OnResize, do not unset cfAutoSizeNeeded in DoAutoSize
...
git-svn-id: trunk@26745 -
2010-07-20 09:13:36 +00:00
paul
76c3f47f1e
lcl: pass lm_contextmenu message from TWinControl to child controls (fixes bug #0016986 )
...
git-svn-id: trunk@26741 -
2010-07-20 02:29:44 +00:00
mattias
355e947a65
LCL: TAnchorSide asrCenter: fix opposite side only when enabled, bug #13874
...
git-svn-id: trunk@26704 -
2010-07-16 22:32:23 +00:00
paul
7fcf942519
lcl: formatting, commenting some constants
...
git-svn-id: trunk@26671 -
2010-07-16 02:15:09 +00:00
paul
262184b138
lcl: review some exception raising code
...
git-svn-id: trunk@26662 -
2010-07-15 11:30:21 +00:00
mattias
7effe1cd59
LCL: added TWinContro.AutoSizeCanStart deprecated till next release
...
git-svn-id: trunk@26568 -
2010-07-10 07:59:44 +00:00
mattias
0aca7c0bf4
LCL: fixed TAnchorSide.CheckSidePosition circle check
...
git-svn-id: trunk@26275 -
2010-06-24 07:35:43 +00:00
mattias
4c66e3d41c
LCL: improved debugging
...
git-svn-id: trunk@26249 -
2010-06-22 07:13:04 +00:00
mattias
5977b88aca
LCL: added controlstyles csAutoSizeKeepChildLeft, csAutoSizeKeepChildTop, TScrollBox: use preferred size even if AutoSize=false
...
git-svn-id: trunk@26222 -
2010-06-21 08:10:11 +00:00
mattias
60adf0cc86
IDE: anchor editor: warn for circles
...
git-svn-id: trunk@26219 -
2010-06-20 22:00:27 +00:00
mattias
061e3724eb
LCL: fixed anchoring with direction change
...
git-svn-id: trunk@26218 -
2010-06-20 21:41:34 +00:00
mattias
0dafa843e3
anchordocking: manualdock to custom dock site
...
git-svn-id: trunk@26143 -
2010-06-16 07:26:01 +00:00
mattias
d35da02263
LCL: TDockManager.BeginUpdate does not need to be implemented
...
git-svn-id: trunk@26009 -
2010-06-09 21:49:37 +00:00
mattias
bdb7a1945e
LCL: made DoOnShowHint virtual
...
git-svn-id: trunk@25968 -
2010-06-08 13:04:39 +00:00
mattias
a760ac7f88
LCL: added UpdateDockCaption, GetDefaultDockCaption uses caption instead of name
...
git-svn-id: trunk@25942 -
2010-06-06 07:10:50 +00:00