Commit Graph

575 Commits

Author SHA1 Message Date
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