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
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
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
520d367826
lcl, win32: fix showing of windows which needs to be shown on taskbar (bug #0017561 )
...
git-svn-id: trunk@27714 -
2010-10-15 06:45:36 +00:00
mattias
081cb87fe6
LCL: removed TApplication.FFormList, bug #17570
...
git-svn-id: trunk@27602 -
2010-10-07 11:14:01 +00:00
paul
66c72d1b3e
lcl: add TApplication.ActivateHint method for delphi compatibility
...
git-svn-id: trunk@27014 -
2010-08-05 02:17:37 +00:00
mattias
a412c2ec18
LCL: clean up
...
git-svn-id: trunk@26876 -
2010-07-28 17:04:01 +00:00
mattias
4719ce7c31
IDE; project inspector: reset menu item
...
git-svn-id: trunk@26875 -
2010-07-28 17:03:41 +00:00
paul
1e68ee32f3
lcl: register some VCL compatibility properties to skip them during lfm reading (issue #0016660 )
...
git-svn-id: trunk@26834 -
2010-07-26 06:12:24 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
mattias
42463c684d
LCL: TControlScrollBar: fixed considering clientwidth/height and scrollbars visible, bug #16799
...
git-svn-id: trunk@26567 -
2010-07-10 07:57:06 +00:00
mattias
0170b10fea
LCL: comments
...
git-svn-id: trunk@26487 -
2010-07-06 14:08:51 +00:00
mattias
a09d8339a6
LCL: Application.ReleaseComponent: try to keep the order, bug #16859
...
git-svn-id: trunk@26484 -
2010-07-06 13:34:42 +00:00
mattias
ee8a253eab
TForm.AutoSize: using Monitor.WorkAreaRect as maximum for AutoSize when akRight,akBottom are set
...
git-svn-id: trunk@26278 -
2010-06-24 09:41:28 +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
6669dc093d
LCL: fixed FindApplicationComponent to ignore designer forms
...
git-svn-id: trunk@26052 -
2010-06-12 08:40:58 +00:00
mattias
48e0180fae
LCL: added dbgs for TWindoeState and TCloseAction
...
git-svn-id: trunk@25961 -
2010-06-07 18:32:47 +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
mattias
5ef52a7806
LCL: do not autosize a root frame at designtime
...
git-svn-id: trunk@25809 -
2010-05-31 20:27:16 +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
525e8f2516
LCL: renamed addhandler parameter AsLast to AsFirst, because this is more intuitive
...
git-svn-id: trunk@25768 -
2010-05-30 13:59:44 +00:00
martin
cc7d32817b
LCL: added Application.RemoveAsyncQueue(Object)
...
git-svn-id: trunk@25671 -
2010-05-26 22:12:31 +00:00
mattias
cb7c832e25
LCL: TScrollingWincontrol: fixed GetLogicalClientRect - only use Range if bar is visible, use preferredsize if Parent.ChildSizing.Layout<>cclNone
...
git-svn-id: trunk@25574 -
2010-05-22 11:52:45 +00:00
mattias
7c4a2d5678
LCL: TControlScrollBar.AutoCalcRange: do not use preferred width/height if AutoSize=false
...
git-svn-id: trunk@25544 -
2010-05-20 12:16:00 +00:00
zeljko
c86392f301
LCL: added ASystemTopAlso bool param to TApplication.RemoveStayOnTop & TApplication.RestoreStayOnTop, WS.AppRemoveStayOnTop & WS.AppRestoreStayOnTop, because TApplication.HandleException should normalize all stayontop (app, sys), but app activate/deactivate only fsStayOnTop.
...
git-svn-id: trunk@25535 -
2010-05-20 10:54:19 +00:00
mattias
b36aa016ec
LCL: TCustomForm: using Application.BidiMode
...
git-svn-id: trunk@25512 -
2010-05-19 11:10:26 +00:00
mattias
6ceab75bed
LCL: clear TCustomForm.FLastFocusedControl when it is destroyed
...
git-svn-id: trunk@25353 -
2010-05-13 11:01:53 +00:00
paul
b7e13f130d
lcl: remove unneeded SetFocusedForm argument
...
git-svn-id: trunk@25301 -
2010-05-10 14:32:45 +00:00
paul
0868cb6177
lcl: redo cm_activate, cm_deactivate for showmodal - not it works consistently on win32, qt and gtk2
...
git-svn-id: trunk@25300 -
2010-05-10 14:31:29 +00:00
paul
54cd9134f0
lcl: don't look at fsModal formstate in SetFocusedForm, use an argument for modal behavior detection for the case if other forms are opened after modal form open
...
git-svn-id: trunk@25297 -
2010-05-10 13:32:31 +00:00
paul
581c468507
lcl: send CM_ACTIVATE, CM_DEACTIVATE for modal forms
...
git-svn-id: trunk@25294 -
2010-05-10 13:21:47 +00:00
paul
3e6c6b0ea4
lcl: cleanup
...
git-svn-id: trunk@25292 -
2010-05-10 10:06:51 +00:00
paul
a12d403ae0
lcl: don't call Activate, Deactivate for TForm on WM_ACTIVATE message - since it also means activate/deactivate on application activation/deactivation. Use Screen.FocusedForm to track form activation/deactivation. Send CM_ACTIVATE, CM_DEACTIVATE instead of direct event calling. (this is VCL compatible and fixes issue #0015054 )
...
git-svn-id: trunk@25274 -
2010-05-09 13:28:15 +00:00
paul
0254875222
lcl: fix OnEnter/OnExit handling:
...
- don't assume DoEnter, DoExit are the same as WM_SETFOCUS, WM_KILLFOCUS - Enter must happen for all controls from the current focused control to the new focused control on the form, Exit must happen from the focused control to the first parent of the new focused control. If another focusing event happens during this look we need to stop the loop and return False state for SetFocusedControl method (this is VCL compatible behavior)
- handle enter, exit code in SetFocusedControl because this is the only place where form handles focus for child controls
- send CM_ENTER, CM_EXIT messages instead of direct call of DoEnter, DoExit methods
- reimplement SaveFocusState, RestoreFocusState - save restore the last global focused control
(fixes issue #0014041 )
git-svn-id: trunk@25255 -
2010-05-08 16:18:40 +00:00
paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
cf55952b42
removed OldAutoSize
...
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
2abe1b3ff4
LCL: added TScreen handler for form Visible changed
...
git-svn-id: trunk@25097 -
2010-05-01 13:48:24 +00:00
sekelsenmat
4ec26a9c40
Adds support to FPC 2.2.0 for Windows CE
...
git-svn-id: trunk@25090 -
2010-05-01 10:59:17 +00:00
mattias
af904f7c5a
LCL: TCustomForm.WMWindowPosChanged, gtk intf: do not send WMWindowPosChanged because of strange side effects
...
git-svn-id: trunk@24979 -
2010-04-26 18:12:48 +00:00
mattias
81a5b44f7b
LCL: optimized TCustomForm.UpdateShowInTaskBar
...
git-svn-id: trunk@24750 -
2010-04-20 18:22:49 +00:00
mattias
708e6de6d9
LCL: implemented Application.TaskBarBehavior, bug #13537
...
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
zeljko
724575d244
LCL: TCustomForm DoCreate moved to AfterConstruction to be fully delphi compatibile. fixes #14120
...
git-svn-id: trunk@24525 -
2010-04-08 18:25:05 +00:00
zeljko
17c1015f20
LCL: fixed broken compilation with -dOldAutoSize.
...
git-svn-id: trunk@24521 -
2010-04-08 17:28:55 +00:00
mattias
5c3e8a2458
LCL: moved form positon code to TCustomForm.MoveToDefaultPosition, positioning form before sending bounds to interface
...
git-svn-id: trunk@24498 -
2010-04-08 11:02:45 +00:00
mattias
3166de2bc2
LCL: TApplication: replaced TList with TFPList
...
git-svn-id: trunk@24413 -
2010-04-04 23:04:37 +00:00
paul
2dfb22d93e
lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading
...
git-svn-id: trunk@24327 -
2010-04-01 00:49:45 +00:00
paul
c1327ba16e
lcl: publish TForm.Anchors
...
git-svn-id: trunk@24296 -
2010-03-30 11:23:33 +00:00
mattias
f736a0b704
LCL: autosize: removed autosizecanstart
...
git-svn-id: trunk@24042 -
2010-03-16 15:02:05 +00:00
paul
e513f0292c
lcl: rework LM_CONTEXTPOPUP - recursively call it on right mouse button up (issue #0015709 )
...
git-svn-id: trunk@24005 -
2010-03-15 07:56:44 +00:00
paul
770d3e2d9d
lcl: fix new autosize to work with ParentWindow too
...
git-svn-id: trunk@24003 -
2010-03-15 03:24:29 +00:00