Commit Graph

704 Commits

Author SHA1 Message Date
mattias
bcb890ce27 lcl: TScreen.UpdateLastActive: clear FLastActiveControl on destroy 2023-07-04 15:20:05 +02:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Abou Al Montacir
58645a39f4 GTK3: Fixed crash on Win64 after recent changes on GTK3 hints.
Seems that on Win64, `FHintControl` is not always a valid `TWinControl`
class instance.
2023-06-25 20:31:16 +02:00
Maxim Ganetsky
e763d920b7 IDE, LCL: removed stale GetText unit uses 2023-06-13 20:38:32 +03:00
Martok
da8aa82003 lcl: consider compositor/DWM extended frame for snapping 2023-04-24 23:12:47 +00:00
Martok
0b50d7cfc2 lcl: ensure SnapOptions are streamed 2023-04-24 23:12:47 +00:00
Martok
b83838139d lcl: implement window snapping / magnetic borders 2023-04-24 23:12:47 +00:00
Martin
0d415cb235 LCL: Fix endless loop in ReleaseComponent (invoking itself via WM_NULL). Issue #40183
Change to only re-invoke ReleaseComponent if any component actually reached a ref-count of 0.
If Components are re-added after a crash during destroying one of them, then they (may or may not) re-invoke immediately. But excluding the crashed one, so there is work to continue.
2023-04-02 20:33:48 +02:00
Bart
5160adcacc TApplicationProperties: add OnActionExecute (Issue #36816) and OnActionUpdate. 2023-02-11 18:41:03 +01:00
Ondrej Pokorny
43d7f20349 FPC: Extend System.UITypes 2022-12-18 08:50:17 +01:00
Ondrej Pokorny
7d00a524a4 TScrollBox: make opaque for ParentColor=False and ParentBackground=False. Issue #40047 2022-12-14 21:49:24 +01:00
Bart
8c251bbdfb LCL: Use const for parameters. Patch by Alexey Torgashin. Issue #39617. 2022-02-02 13:57:38 +01:00
Ondrej Pokorny
fdd5721318 LCL: fix case of Integer/Boolean/string types 2021-12-13 10:23:37 +01:00
Ondrej Pokorny
8438ed9d98 Revert "LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124."
This reverts commit 20c1e10aca.
2021-11-29 22:05:19 +01:00
Juha
20c1e10aca LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124. 2021-11-29 11:26:58 +02:00
Ondrej Pokorny
89162e9c1c LCL: move crScreenCursor to a private const of TScreen so that it isn't used elsewhere 2021-11-26 13:33:48 +01:00
Ondrej Pokorny
5f82f6ba31 TCustomForm: MakeFullyVisible should use WorkAreaRect as default (sensible and also Delphi-compatible) 2021-11-19 15:17:18 +01:00
Ondrej Pokorny
c187dc8f26 Fix warning 2021-11-19 15:17:18 +01:00
mattias
6221e1c546 lcl: THintWindow: made some protected methods virtual 2021-11-09 15:00:41 +01:00
juha
27af6874b9 LCL: Implement TApplication.HelpShowTableOfContents. Issue #25905.
git-svn-id: trunk@65478 -
2021-07-20 19:44:31 +00:00
juha
a078714f63 Revert r65213 #595fb2c21d. It caused a regression.
git-svn-id: trunk@65228 -
2021-06-14 07:52:06 +00:00
juha
595fb2c21d LCL: Call FormShow correctly. Issues #36127 and #38922, patch by Joeny Ang.
git-svn-id: trunk@65213 -
2021-06-11 06:17:44 +00:00
michl
5d6cad752d LCL: Fixed TForm.AutoScroll does not turn off scrollbars if UNCHECKED while scrollbars are showing. Issue #38856
git-svn-id: trunk@65089 -
2021-05-06 20:23:34 +00:00
juha
aa96e17781 Revert r63888 #54661a2a36. It breaks event handling of forms with parent. Issue #36127.
git-svn-id: trunk@64986 -
2021-04-13 16:35:34 +00:00
michl
cafbad9bab LCL: TFrame, TGroupBox: Set ParentBackGround to False if color is changed and visa versa as requested in German LazarusForum from wp. Related to 64871, 64872
git-svn-id: trunk@64882 -
2021-03-28 19:32:11 +00:00
michl
6ffcd2744c LCL: Win32: Fixed Frame.Color not change the color of frame. Issue #35229
git-svn-id: trunk@64872 -
2021-03-27 12:22:17 +00:00
juha
8fde568fcc LCL: Synchronize CustomApplication with Application. At least unit CustomTimer uses it. Issue #38544.
git-svn-id: trunk@64745 -
2021-03-05 09:52:32 +00:00
martin
6fc365af0b LCL: Fix ReleaseComponents hang with modal window. Issue #0021451
git-svn-id: trunk@64435 -
2021-01-29 18:53:45 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
741a56883e LCL: Add ExitProc to TApplication differently. Issue #38039, patch from Cyrax.
git-svn-id: trunk@64110 -
2020-11-06 10:42:01 +00:00
juha
54661a2a36 LCL: Fix changing TForm's bounds and WindowState etc. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63888 -
2020-09-18 09:33:43 +00:00
juha
09aece8f24 Revert r63842 #475bc75d3e because of a regression. Issue #37732.
git-svn-id: trunk@63882 -
2020-09-11 18:01:55 +00:00
juha
475bc75d3e LCL: Improve TForm's bounds events. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63842 -
2020-08-29 14:40:17 +00:00
juha
1edc4cf4b9 LCL: Prevent calling Form.OnResize() and OnChangeBounds() twice. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@63577 -
2020-07-16 23:00:30 +00:00
ondrej
f6c39c019d LCL: implement MDI for win32. Issue #36582, based on patch by Kostas Michalopoulos, attempt 2
git-svn-id: trunk@62745 -
2020-03-12 09:28:38 +00:00
ondrej
29018d9a1a Revert r62685 #e1838e46a0: LCL: implement MDI for win32. Issue #36582, based on patch by Kostas Michalopoulos
git-svn-id: trunk@62739 -
2020-03-11 05:48:36 +00:00
ondrej
e1838e46a0 LCL: implement MDI for win32. Issue #36582, based on patch by Kostas Michalopoulos
git-svn-id: trunk@62685 -
2020-02-28 19:29:59 +00:00
ondrej
74fb203f39 LCL: Screen.BeginTempCursor & EndTempCursor
git-svn-id: trunk@62664 -
2020-02-23 06:04:38 +00:00
dmitry
8bcb4c3d6f lcl: moving RegisterPropertyToSkip from unit initialization to WSRegisterClass methods
git-svn-id: trunk@62581 -
2020-01-23 15:28:39 +00:00
ondrej
f5da5df4fb LCL: high-DPI: fix inplace frames. Issue #36370
git-svn-id: trunk@62507 -
2020-01-07 21:14:44 +00:00
ondrej
543dbab72b LCL: fix character case
git-svn-id: trunk@62504 -
2020-01-07 09:32:42 +00:00
juha
63cc527b35 LCL: Simplify code dealing with ampersands (&). Remove duplicate code.
git-svn-id: trunk@62493 -
2020-01-04 19:30:01 +00:00
juha
a5cca7c662 LCL: Make TForm's bounds and restored bounds consistent. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@61997 -
2019-10-05 20:26:41 +00:00
michl
e676482f09 LCL: TWinControl: Fixed TGraphicControl.Cursor not working properly with TScrollBox. Issue #34714
git-svn-id: trunk@59865 -
2018-12-19 13:04:34 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
ce916d287c LazUtils: Rename unit ModalResultDef to a Delphi compatible UITypes. Add Message dialog related stuff.
git-svn-id: trunk@58227 -
2018-06-11 10:51:11 +00:00
juha
5f57884ed1 LCL,LazUtils: Move ModalResult and the mr... consts to a new unit in LazUtils. They are used in non-GUI programs, too.
git-svn-id: trunk@58205 -
2018-06-09 14:39:49 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
ondrej
05be68c547 LCL: forms: flag TApplication.DoubleBuffered as platform-dependent
git-svn-id: trunk@58109 -
2018-06-04 01:11:25 +00:00
ondrej
9d0ffcca3c LCL: forms: add TApplication.Handle
git-svn-id: trunk@58107 -
2018-06-04 01:01:55 +00:00