bart
dc8bcb7190
LCL: Implement ValidParentForm function (Delphi compatibility)
...
git-svn-id: trunk@46048 -
2014-08-17 10:12:28 +00:00
bart
f3e358caff
LCL: Implement optional parameter TopForm: Boolean, for GetParentForm (Delphi compatibility)
...
git-svn-id: trunk@46047 -
2014-08-17 10:03:28 +00:00
juha
b189500498
LCL: Revert some of THintWindow changes because of Delphi compatibility. Issue #26516
...
git-svn-id: trunk@45973 -
2014-07-25 16:56:19 +00:00
juha
ba96b04000
IdeIntf: use 2 hint windows in THintWindowManager, one for text and one for rendered HTML.
...
git-svn-id: trunk@45938 -
2014-07-20 18:27:21 +00:00
juha
24ce977ee8
LCL, SynEdit: improve THintWindow methods. Fixes code completion offset problem, issue #26509
...
git-svn-id: trunk@45937 -
2014-07-20 18:26:37 +00:00
juha
39ed58f021
IdeIntf: new THintWindowManager to encapsulate hint stuff. Fix THintWindow when it has a sub-control. Make code browser use the new feature.
...
git-svn-id: trunk@45827 -
2014-07-11 16:31:06 +00:00
juha
2f1bc3998e
Remove Designer dependency from SourceFileManager.
...
git-svn-id: trunk@45783 -
2014-07-05 10:49:22 +00:00
mattias
6e9e77ecd4
LCL: comment
...
git-svn-id: trunk@45330 -
2014-06-04 06:29:30 +00:00
mattias
59516fe2c8
LCL: fixed TScrollingWinControl.AutoScroll endless loop when one scrollbars needs to be shown because of the other
...
git-svn-id: trunk@45082 -
2014-05-18 17:01:29 +00:00
juha
b89396a14d
LCL: ScrollingWinControl Resizing. Issue #25859 , patch from ocean.
...
git-svn-id: trunk@44452 -
2014-03-16 23:03:26 +00:00
paul
f182409b90
lcl: move cursors from Lazarus to FPC resources
...
git-svn-id: trunk@42961 -
2013-09-27 03:19:05 +00:00
juha
03c1d319be
LCL: Make TWinControl.GetChildren and overridden methods public. Issue #24974 , patch from Stephano.
...
git-svn-id: trunk@42775 -
2013-09-13 18:44:16 +00:00
mattias
c50737c1d3
LCL: fixed GetDesignerForm outside IDE
...
git-svn-id: trunk@42711 -
2013-09-10 08:58:04 +00:00
paul
ccc3d51ef0
lcl: introduce TCustomForm.Resize for compatibility with VCL, move window state change logic there
...
git-svn-id: trunk@42100 -
2013-07-16 07:14:06 +00:00
paul
4910e314df
lcl: fix position of poDesktopCenter forms when desktop Left,Top <> (0,0)
...
git-svn-id: trunk@42098 -
2013-07-16 03:38:31 +00:00
paul
35fbbe9c73
lcl: make TScreen.UpdateMonitors public as suggested in (issue #0022499 )
...
git-svn-id: trunk@41676 -
2013-06-11 06:57:18 +00:00
paul
951d803183
lcl, win32: use GetTextExtent as suggested in MSDN to get the correct text bounds before use of DrawThemeText() (issue #0021964 )
...
git-svn-id: trunk@41646 -
2013-06-10 05:58:07 +00:00
paul
aab787525a
lcl: reset hint window region when color is changed to non-default
...
git-svn-id: trunk@41502 -
2013-06-03 02:22:33 +00:00
juha
7b162087fd
Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
665538169c
LCL: Support Destroy event in TFormPropertyStorage class. Issue #22204 , patch from Cyrax
...
git-svn-id: trunk@40911 -
2013-04-28 17:55:08 +00:00
bart
f85cc1c351
Implement TApplication.IsRightToLeft (Reason: Delphi compatibility).
...
git-svn-id: trunk@40155 -
2013-02-03 12:03:49 +00:00
mattias
fce82b284a
LCL: TScreen.AddHandlerFormAdded+AddHandlerRemoveForm+AddHandlerActiveControlChanged+AddHandlerActiveFormChanged+AddHandlerFormVisibleChanged: changed default AsFirst to false for consistency
...
git-svn-id: trunk@39785 -
2013-01-06 19:01:28 +00:00
mattias
31e711a9a4
LCL: TCustomForm.AddHandlerFirstShow+AddHandlerClose+AddHandlerCreate: changed default AsFirst to false for consistency
...
git-svn-id: trunk@39784 -
2013-01-06 19:00:14 +00:00
mattias
3bfe2eecf6
lcl: TCustomForm.UpdateDockCaption: fixed repair garbage
...
git-svn-id: trunk@37461 -
2012-05-30 08:01:43 +00:00
paul
70fca72696
lcl: always ask control about special key using CM_WANTSPECIALKEY and LM_GETDLGCODE, simplify DoCancelKey, DoReturnKey, remove old WantKeyBeforeInterface
...
git-svn-id: trunk@37142 -
2012-05-03 01:38:51 +00:00
paul
880401dbb8
lcl: remove ver2_2_x defines
...
git-svn-id: trunk@36368 -
2012-03-27 07:16:11 +00:00
paul
57bbaca812
win32: call Application.IntfActivate, IntfDeactivate asynchronously from win32 interface code (fixes issue #0018494 )
...
git-svn-id: trunk@35549 -
2012-02-22 01:35:41 +00:00
paul
82e9d3f4ce
lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
...
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
paul
2f4158711d
lcl: add TApplicationProperties.OnActivate, OnDeactivate events
...
git-svn-id: trunk@35503 -
2012-02-20 09:21:36 +00:00
paul
bbb4a0f776
lcl: add Target: TControl argument to NotifyApplicationUserInput(), pass this target to event handlers instead of TApplication
...
git-svn-id: trunk@35500 -
2012-02-20 06:20:01 +00:00
paul
9550f573ca
lcl, win32: update format settings if UpdateFormatSettings = True (feature #0020517 )
...
git-svn-id: trunk@35168 -
2012-02-06 03:52:31 +00:00
sekelsenmat
45beb7cd01
Starts Accessibility API structure and adds a routine to detect if we are on a mobile platform
...
git-svn-id: trunk@34656 -
2012-01-08 10:05:55 +00:00
marc
d30d8468dc
lcl: implement Delphi compatible AutoScrollEnabled function
...
git-svn-id: trunk@34470 -
2011-12-28 16:57:14 +00:00
sekelsenmat
cbe7d6ff5f
Compilation fix and starts TApplication.MoveFormFocusToChildren
...
git-svn-id: trunk@34365 -
2011-12-22 16:58:18 +00:00
sekelsenmat
cc0e04b161
Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
...
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
sekelsenmat
b5a59868f9
Commits the first part of layout auto-adjustment support in the LCL
...
git-svn-id: trunk@34272 -
2011-12-19 10:25:13 +00:00
sekelsenmat
3c9ee8524f
Adds the new Application.ExtendedKeysSupport flag and advances the implementation of keyboard support in LCL-CustomDrawn-Cocoa
...
git-svn-id: trunk@34219 -
2011-12-16 08:22:27 +00:00
sekelsenmat
53aba472a1
Adds a new TApplication property to control the layout auto-adjustment policy. This property will allow converting the LCL fixed layouting effectively into a stretchable grid layout
...
git-svn-id: trunk@34185 -
2011-12-14 17:12:03 +00:00
sekelsenmat
9c38c40343
Reworks the assyncronous modal dialogs interface and adds it to the TCustomForm too. Reimplements the Android support for modal dialogs to support 1 Java implementation for both MessageBox and PromptUser. Implements LCLIntf.PromptUser for Android
...
git-svn-id: trunk@34127 -
2011-12-12 07:30:55 +00:00
sekelsenmat
6646781795
Starts the support in the LCL for assyncronous modal dialogs, implements MessageBox in LCL-CustomDrawn-Android and updates the Android example to test this API
...
git-svn-id: trunk@34117 -
2011-12-11 20:31:09 +00:00
juha
9b08f69b27
LCL: removed useless property setter
...
git-svn-id: trunk@33524 -
2011-11-14 09:33:15 +00:00
mattias
6a2c34aac9
LCL: removed TControlScrollBar.SetSize
...
git-svn-id: trunk@33479 -
2011-11-11 13:35:55 +00:00
mattias
79eb166c4f
LCL: removed TControlScrollBar.SetAutoScroll
...
git-svn-id: trunk@33478 -
2011-11-11 13:32:45 +00:00
zeljko
4628bd06d0
LCL: started MDI support. Added needed routines and properties.
...
git-svn-id: trunk@33323 -
2011-11-05 08:17:56 +00:00
mattias
2cd66811f0
LCL: delay autosizing when form is minimized
...
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
jesus
671e8b233d
LCL, published BiDiMode and ParentBiDiMode for some components, tested by Avishai, issue #19990
...
git-svn-id: trunk@32301 -
2011-09-12 19:12:21 +00:00
maxim
ac02acd3d9
LCL: fixed non-ASCII accelerator keys handling, bug #19223
...
git-svn-id: trunk@32158 -
2011-09-02 19:59:14 +00:00
juha
6b7626218c
LCL: Fix integer types in 64-bit systems. Issue #19314 , patch from Cyrax
...
git-svn-id: trunk@31998 -
2011-08-16 20:46:01 +00:00
mattias
597e60e8a7
LCL: broke unit dependency of graphics on controls
...
git-svn-id: trunk@31628 -
2011-07-09 23:10:27 +00:00
sekelsenmat
17bfc6f175
Implements the most basic fullscreen support, for gtk2 only at the moment
...
git-svn-id: trunk@31470 -
2011-06-30 08:58:09 +00:00
paul
0ac2f35d4e
lcl: move WN_NCHITTEST handling of THintWindow into LCL to allow overriding (issue #0019594 )
...
git-svn-id: trunk@31468 -
2011-06-30 06:30:12 +00:00
sekelsenmat
35a781c607
Adds more TScreen properties, from patch from bug #19379 by wovan.bugger
...
git-svn-id: trunk@31339 -
2011-06-22 21:03:25 +00:00
mattias
44fa8c6766
LCL: made QueueAsyncCall and RemoveAsyncCalls thread safe
...
git-svn-id: trunk@31143 -
2011-06-09 11:00:09 +00:00
paul
5e397ae583
lcl: save/restore TControlScrollBar.Position even if AutoScroll = True (issue #0017409 )
...
git-svn-id: trunk@30220 -
2011-04-06 11:30:56 +00:00
juha
3a816c7fd1
LCL: Formatting
...
git-svn-id: trunk@30189 -
2011-04-04 18:51:05 +00:00
paul
b6dfaf0b4b
lcl: formatting
...
git-svn-id: trunk@30060 -
2011-03-29 05:25:21 +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
ffe4871a0b
lcl: don't set hint window region if window handle is not allocated
...
git-svn-id: trunk@29645 -
2011-02-22 07:21:00 +00:00
paul
5647965f20
lcl: set hint window region on bounds change
...
git-svn-id: trunk@29643 -
2011-02-22 06:47:55 +00:00
mattias
247a494741
LCL: THintWindow: clean up
...
git-svn-id: trunk@29338 -
2011-02-02 22:05:23 +00:00
paul
ed73700099
lcl: set RequireDerivedFormResource to False by default
...
ide: set RequireDerivedFormResource to True for new projects
git-svn-id: trunk@29303 -
2011-02-02 01:52:52 +00:00
paul
64b5237a17
lcl: don't move csDesigning forms to non-designed positions (bug #0018623 )
...
git-svn-id: trunk@29284 -
2011-02-01 08:08:49 +00:00
paul
dec87ef90b
lcl: rename RaiseEResNotFoundInTCustomFormCreate to RequireDerivedFormResource (thanks to Marc)
...
git-svn-id: trunk@29271 -
2011-01-31 10:28:43 +00:00
paul
430382d436
lcl: don't raise EResNotFound in TCustomForm.Create if RaiseEResNotFoundInTCustomFormCreate = False
...
git-svn-id: trunk@29268 -
2011-01-31 10:16:55 +00:00
paul
2b5f589e66
lcl:
...
- add TApplication.MainFormHandle property,
- add TApplication.OnGetMainFormHandle event,
- add TApplicationProperties.OnGetMainFormHandle event
- add dummy TApplication.MainFormOnTaskBar property
git-svn-id: trunk@29242 -
2011-01-29 07:53:13 +00:00
mattias
42ad008292
LCL: TFormPropertyStorage: restore after create, FirstShow is too late
...
git-svn-id: trunk@29174 -
2011-01-23 16:22:38 +00:00
mattias
a6965afecd
LCL: TControlScrollBar: Visible is not the current state, but a flag to allow the widget to become visible, for Delphi compatibility, fixed calculating Range (the widget frame was added)
...
git-svn-id: trunk@29031 -
2011-01-15 12:50:44 +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
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
paul
b2d37865b0
lcl: call Application.OnDeactivate when widgetset interface asking LCL about this
...
git-svn-id: trunk@23884 -
2010-03-09 08:13:30 +00:00
dmitry
5fe460904f
lcl: added support for mouse events and ssMeta modifier. ssMeta present in ShiftState on Cmd (Win) key pressed
...
git-svn-id: trunk@23815 -
2010-03-01 23:06:56 +00:00
paul
1f6c52fe1a
lcl, win32: start implementation of TCustomForm.PopupMode, TCustomForm.PopupParent
...
git-svn-id: trunk@23723 -
2010-02-17 06:04:19 +00:00
paul
3f076b14b9
lcl: implement TControlScrollBar.Tracking for win32, qt and gtk2 (issue #0007981 )
...
git-svn-id: trunk@23596 -
2010-01-29 17:32:40 +00:00
paul
43def91dbc
lcl: implement Application OnModalBegin, OnModalEnd, ModalLevel, ModalStarted and ModalFinished based on patch of Zeljan (issue #0015616 )
...
git-svn-id: trunk@23584 -
2010-01-29 03:08:31 +00:00
paul
c135622fe5
lcl: apply design-time alphablending on form create
...
git-svn-id: trunk@23569 -
2010-01-27 08:51:05 +00:00
paul
3208c507b6
lcl: add TCustomForm.AlphaBlend, TCustomForm.AlphaBlendValue, change TWsCustomForm.SetAlphaBlend
...
git-svn-id: trunk@23565 -
2010-01-27 07:57:16 +00:00
mattias
328ce2a7d3
LCL: fixed ReleaseComponent during ProcessAsyncCall
...
git-svn-id: trunk@23272 -
2009-12-25 11:52:13 +00:00
mattias
f358340f56
IDEIntf+LCL: TGetDesignerFormEvent using TPersistent instead of TComponent
...
git-svn-id: trunk@22907 -
2009-12-01 20:33:50 +00:00
mattias
53ede9fe10
LCL: fixed TApplication.ReleaseComponent when components in list are freed by other means
...
git-svn-id: trunk@22905 -
2009-12-01 17:36:53 +00:00
mattias
7a89ac6e1f
LCL: update actionlists of nested frames, bug #15229
...
git-svn-id: trunk@22895 -
2009-12-01 12:56:19 +00:00
paul
ce5d8e99d8
lcl: minor changes for GetDesignerForm
...
git-svn-id: trunk@22818 -
2009-11-27 04:17:43 +00:00
mattias
9277fa9e42
lcl: clean up
...
git-svn-id: trunk@22776 -
2009-11-25 21:48:59 +00:00
sekelsenmat
c15be9e2e1
New fix for bug #15075
...
git-svn-id: trunk@22775 -
2009-11-25 17:53:24 +00:00
vincents
d2ba61eceb
LCL: made TCustomForm.FFormState protected (was private), because it is protected in Delphi (issue #15034 )
...
git-svn-id: trunk@22747 -
2009-11-24 10:38:43 +00:00
paul
6264b25bc3
lcl: remove hint
...
git-svn-id: trunk@22726 -
2009-11-23 14:59:30 +00:00
sekelsenmat
2774606c92
Introduces the define DEBUG_ALLOW_DUMPBACKTRACE which removes code to dump a backtrace to the console, which crashes WinCE applications. Fixed bug #15075
...
git-svn-id: trunk@22722 -
2009-11-23 13:51:52 +00:00
paul
ffaf004a69
lcl: set default parameter for TCustomForm.CreateNew as it is delphi compatible and Marco van de Voort requested
...
git-svn-id: trunk@22720 -
2009-11-23 13:13:30 +00:00
sekelsenmat
63f13ceb9c
Rework of the ApplicationType property. atKeyPadDevice should be used instead of atSmartphone now
...
git-svn-id: trunk@22532 -
2009-11-11 16:58:18 +00:00
vincents
04304dd66c
LCL: added Application.IntfAppActivate and Application.IntfAppDeactivate, that can be called by the widgetset to notify the LCL, so it can raise the Application.OnActivate and OnDeactivate events. It is used in by the win32 widgetset (issue #8043 )
...
git-svn-id: trunk@22062 -
2009-10-07 12:10:11 +00:00
paul
194d1c80e3
lcl: BidiMode:
...
- notify forms when Application.BidiMode changed
- use application bidi mode when form get parent bidi mode change notification
- fix TControl.CMParentBidiModeChanged
git-svn-id: trunk@22022 -
2009-10-04 13:10:48 +00:00
paul
4f58001501
lcl: add BiDi mode support and Alignment for THintWindow (patch by Luiz Americo, issue #0014719 )
...
git-svn-id: trunk@22021 -
2009-10-04 13:00:38 +00:00
paul
5b02eb7f37
lcl: fix TCustomForm.CanFocus return
...
git-svn-id: trunk@21856 -
2009-09-25 09:28:02 +00:00
paul
48e060d9f7
lcl: MainMenu refactoring and other menu changes:
...
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
- TMainMenu.WindowHandle is introduced for delphi compatibility
- Don't show a main menu for the bsDialog windows (delphi compatibility)
- Explicitly request MainMenu to notify form about destruction
git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
paul
2f6201ed2e
lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575 )
...
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
paul
3faec5e74c
lcl: TControlScrollBar.Range:
...
- manual change of this property should set owner control AutoScroll to False
- property should not be stored if owner control AutoScroll = True
git-svn-id: trunk@21679 -
2009-09-13 09:21:44 +00:00
paul
bbda022560
lcl: always update scroll visibility when changing other params ( fixes #0014494 )
...
git-svn-id: trunk@21568 -
2009-09-04 12:29:34 +00:00
paul
9ce421e78e
lcl: various TControlScrollBar, TScollingWinControl fixes:
...
- fix scrollbar visibility when AutoScroll = False, scrollbars must appear if visible = True and range > page (with help of patch of Sven Barth, issue #0014279 )
- fix class definition (no need to handle writing of properties using stored modifier - fpc bug was fixed long ago)
git-svn-id: trunk@21501 -
2009-08-31 14:54:29 +00:00
paul
0dafbae6a4
lcl: better protect Form.AutoScroll from change when BorderStyle does not allow this
...
git-svn-id: trunk@21479 -
2009-08-29 03:50:50 +00:00
paul
56c45690de
lcl: make AutoScroll delphi compatible:
...
- set AutoScroll to False by default for TForm and TFrame. Leave it True for TScrollBox
- allow AutoScroll change for forms with bsSizeable, bsSizeToolWin BorderStyle
git-svn-id: trunk@21478 -
2009-08-29 03:03:10 +00:00
paul
92fc448dae
lcl: formatting
...
git-svn-id: trunk@21465 -
2009-08-27 16:30:28 +00:00
mattias
766a2fcfb4
LCL: fixed calling finalization handlers when Application=nil
...
git-svn-id: trunk@21397 -
2009-08-22 17:01:30 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
mattias
d4eeeafe50
LCL: added flag EnableAsyncDeactivate for possible workaround for too early/many deactivate events
...
git-svn-id: trunk@21188 -
2009-08-12 11:38:37 +00:00
mattias
236c316138
LCL: calendarpopup: missing semicolon
...
git-svn-id: trunk@21187 -
2009-08-12 11:33:53 +00:00
martin
2f8fc1ed97
LCL: cleanup, unused Member
...
git-svn-id: trunk@21081 -
2009-08-02 22:37:05 +00:00
paul
89c8026bc3
lcl: make TScrollingWinControl.ScrollBy public for delphi compatibility
...
git-svn-id: trunk@21000 -
2009-07-29 03:16:23 +00:00
paul
9cd1098625
lcl: start implementation of TApplication.HelpCommand method, remove InvokeHelp private method
...
git-svn-id: trunk@20822 -
2009-07-11 05:45:37 +00:00
paul
191d01a82d
lcl: make hint handling more delphi compatible by patch of Luiz Americo with modifications (issue #0014039 )
...
git-svn-id: trunk@20740 -
2009-06-25 02:14:59 +00:00
paul
b5026985e2
lcl: TCustomForm - handle CM_RELEASE message for compatibility with VCL applications
...
git-svn-id: trunk@20711 -
2009-06-22 08:46:31 +00:00
paul
67b08ac58d
win32: add more checks in UpdateUIState (maybe fixes bug #0014014 )
...
git-svn-id: trunk@20686 -
2009-06-21 03:00:13 +00:00
mattias
a3500f17a9
LCL: published TFrame.CHildSzing
...
git-svn-id: trunk@20639 -
2009-06-16 07:33:53 +00:00
paul
dc4763f6ad
lcl: redo HideFormWithStayOnTop with RemoveStayOnTop which is only sets fsNormal instead of fsStayOnTop, add RestoreStayOnTop method. Add AppRemoveStayOnTopFlags, AppRestoreStayOnTopFlags to TWidgetset, implement them on windows (fixes issue #0013953 )
...
git-svn-id: trunk@20580 -
2009-06-11 01:37:06 +00:00
paul
d5c624193e
lcl: change KeysToShiftState and ShiftStateToKeys to get, return PtrUInt instead of word
...
git-svn-id: trunk@20547 -
2009-06-09 11:11:03 +00:00
paul
8140fd8755
lcl: add more extra mouse buttons support
...
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
paul
681610137f
lcl: TButtonPanel: pass CM_APPSHOWBTNGLYPHCHANGED to owned buttons
...
git-svn-id: trunk@20533 -
2009-06-09 03:03:54 +00:00
paul
300a1514ea
lcl: cleanup, formatting
...
git-svn-id: trunk@20346 -
2009-06-02 12:46:51 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
823051d231
gtk2: finish menu change on show menu images option change in gtk2 theme
...
git-svn-id: trunk@20202 -
2009-05-25 12:03:58 +00:00
paul
3f5dc06930
lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
...
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
e30c0905a2
lcl: allow form dragging by client area only if it is docked into docksite without dock manager
...
git-svn-id: trunk@20070 -
2009-05-20 07:30:39 +00:00
paul
3cd340fe31
lcl: formatting
...
git-svn-id: trunk@19966 -
2009-05-15 01:57:42 +00:00
paul
ac4b855749
lcl: TApplicationProperties:
...
- set default values for most of properties (where it has sense)
- add ShowButtonGlyphs property
- minor formatting
git-svn-id: trunk@19946 -
2009-05-13 01:23:16 +00:00
paul
3005b7d87f
lcl: add TApplication.ShowButtonGlyphs property and handle change
...
git-svn-id: trunk@19938 -
2009-05-12 08:02:36 +00:00
paul
793393a8d6
lcl: start native drawing of tooltip windows
...
- add TThemeServices.DrawTooltip
- reimplement tooltip drawing through ThemeServices in case of color = clInfoBk
- implement native tooltip drawing in ThemeServices for Windows with enabled themes
git-svn-id: trunk@19616 -
2009-04-25 12:56:04 +00:00
paul
022fd0992b
lcl: update comments
...
git-svn-id: trunk@19405 -
2009-04-13 06:48:31 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
101eedbc8f
lcl: add TCustomForm.DefaultMonitor and appropriate implementation, publish this property it in TForm
...
git-svn-id: trunk@19278 -
2009-04-08 06:27:26 +00:00
mattias
321c5d0828
LCL: added comments
...
git-svn-id: trunk@19277 -
2009-04-07 12:53:20 +00:00
paul
ab5b649d39
lcl: TCustomForm
...
- EnsureVisible - use work area instead of full monitor bounds,
- MakeFullyVisible - use full width, height instead of half to check position, add UseWorkArea argument
git-svn-id: trunk@19272 -
2009-04-07 09:22:12 +00:00
paul
31974b5e84
lcl: TCustomForm
...
- add MakeFullyVisible,
- reimplement EnsureVisible
- rearrange public methods
git-svn-id: trunk@19269 -
2009-04-07 08:47:24 +00:00
paul
4e17e34447
wince:
...
- implement monitor search functions,
- fix calling conventions from stdcall to cdecl where is needed
git-svn-id: trunk@19267 -
2009-04-07 07:30:09 +00:00
paul
752897afdc
lcl: further monitor support
...
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
- add TForm.Monitor
win32: add support for new TScreen methods
git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
5600446d97
lcl: add TScreen.PrimaryMonitor
...
git-svn-id: trunk@19262 -
2009-04-07 02:52:51 +00:00
paul
3a19dfff75
lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
...
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo
git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
ea305d04d4
win32: initial support for fonts with national names (issue #0013141 )
...
git-svn-id: trunk@19131 -
2009-03-27 08:15:34 +00:00
paul
ffe4e89cf0
lcl: improve exceptions handling (fixes issue #0013394 )
...
- fix Application.HandleException usage - Sender must be an object where exception occurred, not an exception itself
- catch exceptions in more places
- add HandleCreateException for delphi compatibility and HandleDestroyException, HandleShowHideException for similarity
git-svn-id: trunk@19097 -
2009-03-25 10:01:24 +00:00
paul
5c9f7efdf3
lcl: set default value for TScrollBox.BorderStyle to bsSingle
...
win32, wince: handle TScrollBox.BorderStyle on window creation
(issue #0013346 )
git-svn-id: trunk@19023 -
2009-03-18 10:48:43 +00:00
paul
c99a91c256
lcl: don't show exception using forms while application is not initialized
...
- add new application flag AppInitialized,
- check if application is initialized before trying to show exception message using MessageBox
git-svn-id: trunk@19019 -
2009-03-18 09:07:41 +00:00
paul
53a4ae0a3e
win32: remove few workarounds regards window focus and application z-order
...
lcl: remove code which focused control on every window show. it caused errors with z-order of forms after minimize-restore (issue #0012635 )
lcl: restore last active control/form on application restore
git-svn-id: trunk@18645 -
2009-02-12 10:21:33 +00:00
paul
1d777bebeb
lcl: introduce TScreen.DisableForms, TScreen.EnableForms,
...
lcl: Disabling/Enabling forms before/after showing of modal form
win32: remove win32 specific methods of disabling/enabling windows. Use new TScreen methods instead
win32: disable/enable forms before/after showing some system dialog (fixes bug #0012366 , bug #0012382 )
git-svn-id: trunk@18629 -
2009-02-10 14:38:01 +00:00
paul
6fc8235611
lcl: apply patch of Stephano to make some method declarations more delphi compatible (issue #0013125 )
...
git-svn-id: trunk@18593 -
2009-02-06 17:50:50 +00:00
mattias
8a04802fc6
LCL: added TLCLComponent.LCLRefCount, TApplication.ReleaseComponent now delays free until DeliverMessage completed
...
git-svn-id: trunk@18578 -
2009-02-05 12:23:33 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
0c3dd5eb0e
lcl: skip properties which exists in VCL and does not exists in LCL TForm.OldCreateOrder and TBitBtn.Style (part of issue #0001182 )
...
git-svn-id: trunk@18514 -
2009-01-31 11:36:09 +00:00
paul
748f663981
lcl: BorderWidth
...
- TWinControl: send CM_BORDERCHANGED when borderwidth property is changed
- TPanel: move DoAdjustClientRectCache to the TWinControl CM_BORDERCHANGED handler; use that handler to handle bevel changes; use TWinControl BorderWidth property instead of own
- implement TForm.BorderWidth (part of issue #0001182 )
git-svn-id: trunk@18513 -
2009-01-31 11:27:20 +00:00
mattias
204d1aa9b5
LCL: not focusing THintWindow on show
...
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
paul
75fcdb8abe
lcl: initial support for arrow keys, handle CM_WANTSPECIALKEY for tabs and arrows
...
git-svn-id: trunk@18461 -
2009-01-27 09:05:42 +00:00
paul
c058184341
lcl: store ClientWidth, ClientHeight for TScrollBox as we do for forms, frames and other TScrollingWinControl descendants (fixes bug #0011000 )
...
git-svn-id: trunk@18398 -
2009-01-23 17:12:08 +00:00
paul
342531bc74
lcl: misc formatting
...
git-svn-id: trunk@18096 -
2009-01-04 09:32:21 +00:00
paul
1db29cfe4c
lcl: don't update mouse control on idle (bug #0012806 )
...
git-svn-id: trunk@18017 -
2009-01-01 18:28:23 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
sekelsenmat
27ef199c26
Workaround for gettext bug in windows ce
...
git-svn-id: trunk@17661 -
2008-12-02 13:50:11 +00:00