ondrej
33199744d0
lcl: highDPI: use TCustomDesignControl as ancestor for TFrame and TForm to share PPI properties.
...
git-svn-id: trunk@53580 -
2016-12-06 19:28:48 +00:00
ondrej
11cc148c2f
lcl: highDPI: rename DesignTimeDPI to DesignTimePPI to comply with property <P>ixels<P>er<I>nch
...
git-svn-id: trunk@53572 -
2016-12-06 13:45:47 +00:00
ondrej
38e6533972
lcl: forms: highDPI: Implement TFrame.PixelsPerInch
...
git-svn-id: trunk@53536 -
2016-12-03 06:47:02 +00:00
ondrej
219391b44a
lcl: forms: set TForm.DesignTimeDPI default value
...
git-svn-id: trunk@53534 -
2016-12-02 23:10:31 +00:00
ondrej
bef77cd46b
lcl: forms: implement TFrame.DesignTimeDPI
...
git-svn-id: trunk@53533 -
2016-12-02 23:09:42 +00:00
ondrej
337925d861
lcl: forms: highDPI: don't read TCustomForm.PixelsPerInch from Screen but use rather the value from design-time and update it on scale.
...
git-svn-id: trunk@53512 -
2016-12-01 21:38:39 +00:00
ondrej
9d221a90f6
lcl: forms: highDPI: call ScaleBy automatically on LM_DPICHANGED when Scaled=True.
...
git-svn-id: trunk@53498 -
2016-11-30 23:29:09 +00:00
ondrej
4bccf7cae5
LCL: forms: highDPI: set DesignTimeDPI automatically by the IDE, don't allow to change it manually.
...
git-svn-id: trunk@53497 -
2016-11-30 23:27:37 +00:00
ondrej
9b0d88e504
LCL: forms: add scaled property. Issue #27075
...
git-svn-id: trunk@53495 -
2016-11-30 23:24:09 +00:00
ondrej
6f5fa419e8
lcl: change OnExceptionCircle to OnCircularException, remove handler list.
...
git-svn-id: trunk@52730 -
2016-07-20 18:01:57 +00:00
ondrej
6fb78bd5f9
lcl: application: add handlers to exception circle.
...
git-svn-id: trunk@52713 -
2016-07-19 06:10:56 +00:00
ondrej
69fd011685
lcl: hint window: render user-defined font.
...
git-svn-id: trunk@52383 -
2016-05-24 18:36:28 +00:00
ondrej
92c16d5513
lcl: revert r52377 #a7f5af9c78, it collided with Gtk2 WS code.
...
git-svn-id: trunk@52380 -
2016-05-24 03:50:42 +00:00
ondrej
a7f5af9c78
lcl: add new form style fsIgnoreMouseEvents. use it instead of windows-specific WM_NCHITTEST=HTTRANSPARENT.
...
git-svn-id: trunk@52377 -
2016-05-23 21:47:00 +00:00
ondrej
4c522305c1
lcl: THintWindow: public mouse messages
...
git-svn-id: trunk@52361 -
2016-05-23 15:24:23 +00:00
ondrej
e9c686e804
win32: forward unhandled mousewheel messages to parent in order to support scrolling when mouse cursor is on child wincontrol.
...
git-svn-id: trunk@52045 -
2016-03-24 15:24:14 +00:00
juha
33013ddac8
LCL: Don't set Parent for a standalone form. Issue #18710 , patch from cobines.
...
git-svn-id: trunk@51974 -
2016-03-17 10:52:19 +00:00
juha
565dc69ebc
LCL: Implement function KeyboardStateToShiftState. Issue #29358 , patch from Alexey Torgashin.
...
git-svn-id: trunk@51906 -
2016-03-10 18:03:23 +00:00
ondrej
c108514394
lcl: remove/restore stay-on-top windows in Application ModalStarted/ModalFinished, fix default methods with a counter. Issue #27148
...
git-svn-id: trunk@51812 -
2016-03-03 10:09:52 +00:00
ondrej
2c0c39f762
lcl: use active form as parent for pmNone and modal windows. Issue #29635
...
git-svn-id: trunk@51597 -
2016-02-11 11:52:45 +00:00
ondrej
03766b3e7f
lcl: use ssDouble, ssTriple and ssQuad in MouseUp handlers
...
git-svn-id: trunk@51570 -
2016-02-10 15:35:03 +00:00
juha
db51e758b5
Cleanup and comments
...
git-svn-id: trunk@51470 -
2016-02-01 21:04:59 +00:00
ondrej
eecbb6f2ed
lcl: fix wrong scrollbar height calculation
...
git-svn-id: trunk@51460 -
2016-01-30 19:31:46 +00:00
ondrej
b69d0962f6
designer: forward unhandled keys from designer to OI. Issue #29488
...
git-svn-id: trunk@51398 -
2016-01-24 10:58:59 +00:00
mattias
16ca8935b5
lcl: added SM_LCLHasFormAlphaBlend to GetSystemMetrics, added OnDrawDockImage, when widgetset supports alphablend use a transparent hint window for dock (preview) image, patch #29426
...
git-svn-id: trunk@51340 -
2016-01-19 17:15:03 +00:00
ondrej
0ba709770d
lcl, designer: add and use GetDesignerForm
...
git-svn-id: trunk@51133 -
2016-01-02 18:20:54 +00:00
ondrej
f42e7fcc66
lcl: forms: add TPosition.poWorkAreaCenter
...
git-svn-id: trunk@51112 -
2016-01-02 09:33:40 +00:00
ondrej
81733b2e74
lcl: rewrite PopupMode/PopupParent
...
- unify code for PopupMode/PopupParent in one function TCustomForm.GetRealPopupParent for all WS.
- change TWSCustomFormClass.SetPopupParent to TWSCustomFormClass.SetRealPopupParent without PopupMode parameter.
- Fix TPopupMode documentation.
Issue #29247
git-svn-id: trunk@51032 -
2015-12-25 15:37:10 +00:00
juha
08f907306b
LCL: Allow overriding resource loading in TCustomForm. Issue #20358 , patch from Anton Kavalenka.
...
git-svn-id: trunk@50911 -
2015-12-18 19:06:14 +00:00
ondrej
916bee86f8
LCL: support VertScrollBar.Increment by scrollingwincontrol on Windows
...
git-svn-id: trunk@50527 -
2015-11-29 22:21:49 +00:00
juha
72b8d27401
LCL: Improve Memo.ScrollBy for Windows widgetset. Patch by Ondrej.
...
git-svn-id: trunk@50525 -
2015-11-29 20:57:15 +00:00
juha
6bb18f6fbd
LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067 .
...
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
juha
8c4e943410
LCL: Isolate setting the control's position from TControlScrollBar.SetPosition. A half-baked attempt to fix #29067 .
...
git-svn-id: trunk@50479 -
2015-11-23 14:15:37 +00:00
juha
79dcb7831b
LCL: Bug fix for QT painting non-visual components for TFakeNonControl design form (TDataModule and TFrame). From Maciej.
...
git-svn-id: trunk@50418 -
2015-11-19 13:55:33 +00:00
ondrej
dbb4fc55c3
LCL: added TScrollingWinControl.ScrollInView
...
git-svn-id: trunk@50355 -
2015-11-17 10:18:26 +00:00
sekelsenmat
6621c5c9ce
cocoa: Fixes modalresult
...
git-svn-id: trunk@49724 -
2015-08-29 06:16:44 +00:00
juha
06ac76f560
LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
...
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
8bbae227d3
LCL: Fix Initial value for Application.BidiMode. Issue #22044 , (modified) patch Denis Kozlov
...
git-svn-id: trunk@49346 -
2015-06-16 11:32:35 +00:00
juha
5d0a5d2225
LCL: Move message handlers in TCustomForm to protected section. Allows calling them from handlers in derived classes. Issue #28184 , patch from Ondrej Pokorny.
...
git-svn-id: trunk@49191 -
2015-05-27 13:07:16 +00:00
mattias
d51fa72c40
LCL: re-added CalculateAutoRanges for custom controls
...
git-svn-id: trunk@48626 -
2015-04-04 21:49:29 +00:00
mattias
35e6eea991
lcl: TScrollingWinControl: fixed computing Range independent of visibility of scrollbars, removed CalculateAutoRanges
...
git-svn-id: trunk@48624 -
2015-04-04 21:09:22 +00:00
juha
0d06d0a109
LCL: Extra check for Nil in GetParentForm.
...
git-svn-id: trunk@48605 -
2015-04-03 07:29:04 +00:00
juha
09da89b659
LCL: Remove earlier stupid code made by myself.
...
git-svn-id: trunk@47929 -
2015-02-21 00:19:48 +00:00
mattias
732401b881
LCL: MessageBox: default parameter Flags = MB_OK, bug #27510
...
git-svn-id: trunk@47926 -
2015-02-20 22:38:49 +00:00
mattias
094fd462f5
LCL: TScrollingWincontrol: GetLogicalClientRect: independent of AutoScroll to avoid cycle, GetPreferredSize: independent of AutoScroll, added extra checks if LCL clientrect is not in sync with widgetset, improved debugging preferredsize
...
git-svn-id: trunk@47873 -
2015-02-17 23:58:41 +00:00
juha
d3f974713b
LCL: Implement THintWindow.IsMsgHint. Issue #23076 .
...
git-svn-id: trunk@46695 -
2014-10-28 16:58:57 +00:00
jesus
4101822a9d
LCL, fixed typo in TApplicationProperties field
...
git-svn-id: trunk@46582 -
2014-10-17 19:17:49 +00:00
mattias
1e47e9786a
lcl: clean up
...
git-svn-id: trunk@46577 -
2014-10-17 11:36:10 +00:00
jesus
a820e5a564
LCL, implements application.ExceptionDialog property as an option to choose what kind of exception dialog handler the user wants: a simple message box or dialog with ok/cancel button, issue #23243
...
git-svn-id: trunk@46574 -
2014-10-17 02:42:48 +00:00
juha
60403bcd03
THintWindow: Draw hint windows in editor and elsewhere closer to cursor. Y-offset 30 -> 15.
...
git-svn-id: trunk@46302 -
2014-09-23 19:48:47 +00:00
juha
d186f4212a
LCL: Fix window RestoredLeft/Top values. Issue #8576 , patch from Yuichiro Takahashi.
...
git-svn-id: trunk@46292 -
2014-09-22 17:19:14 +00:00
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