Commit Graph

642 Commits

Author SHA1 Message Date
Juha
bc8578231c LCL: Use OwnerForm.Monitor when Position = poOwnerFormCenter. Issue #41377, patch by Artem Izmaylov. 2025-01-31 00:19:31 +02:00
wp_xyz
01640ee298 LCL: Fix disappearing taskbar icon when FormStyle is fsNone or fsDialog. Patch by Iluha Companets, issue #41189. 2024-10-29 22:32:30 +01:00
wp_xyz
939daf5466 LCL: Fix form icon appearing when modal form opens a border-less second modal form. Issue #41189, patch by @d7_2_laz. 2024-10-17 19:04:25 +02:00
wp_xyz
55ac08a505 LCL/Forms: Overload function TCustomForm.GetFormImage with procedure requiring the bitmap as argument. Issue #41140. 2024-09-14 12:51:05 +02:00
Juha
d784606f77 LCL: Fix deprecation warnings. Issue #40918, patch by Don Siders. 2024-04-26 00:59:26 +03:00
Željan Rikalo
34eace3587 LCL: Do not throw error inside SetActiveControl if we are embedded designer. issue #40833 2024-03-09 11:40:02 +01:00
Juha
16e2f677e2 LCL: Fix TForm.LastActiveControl behavior. Issue #40774, patch by Bernd Jung. 2024-03-08 07:33:31 +02:00
mattias
e89e0d7dcd lcl: ShowModal: handleexception of Idle, otherwise error dialog is auto closed 2023-06-01 10:57:23 +02:00
Martok
b83838139d lcl: implement window snapping / magnetic borders 2023-04-24 23:12:47 +00:00
Juha
49c7830b4a LCL: Call OnShow event also for a maximized form. Issue #40043. 2023-01-01 14:11:46 +02:00
mattias
174cf206d4 lcl: fixed TCustomForm.GetMonitor to avoid calling SetBounds 2022-05-17 10:32:34 +02:00
mattias
becdd42b6d lcl: fixed TCustomForm.GetMonitor when handleallocated and visible 2022-05-16 15:25:08 +02:00
mattias
db88c83b22 lcl: TCustomForm.GetMonitor consider poDefaultPosOnly 2022-05-16 12:14:10 +02:00
mattias
cf9253d7a7 lcl: TCustomForm.GetMonitor consider Position and DefaultMonitor on first show 2022-05-16 11:29:43 +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
d13c67e680 lcl: TForm.ShowModal: override temporary cursors with Screen.Cursor and not crDefault. Issue #39486 2021-11-26 11:23:29 +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
cbafa07331 TCustomForm: rewrite MoveToDefaultPosition and fix regression after 5d1e0bb8e9 2021-11-19 15:17:18 +01:00
juha
22c8c554b1 ... and fix compilation.
git-svn-id: trunk@65465 -
2021-07-16 20:18:26 +00:00
juha
5d1e0bb8e9 LCL: Prevent popup form going off-screen with position poMainFormCenter. Use Max(Min()) shortcuts. Issue #39231, patch by Soner.
git-svn-id: trunk@65464 -
2021-07-16 20:01:42 +00:00
michl
ffa2a3f3c2 LCL: Revert revision 63847 #55d0c7bc3a fixing FormShow call at wrong time. Issue #38922
git-svn-id: trunk@65303 -
2021-06-25 08:49:12 +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
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
juha
b52cbb021d LCL: Simplify code for setting FLastActiveControl.
git-svn-id: trunk@64181 -
2020-12-08 19:34:36 +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
55d0c7bc3a LCL: Raise TCustomForm.OnShow event always. Didn't happen on Windows in certain cases. Issue #37647.
git-svn-id: trunk@63847 -
2020-08-30 20:29:55 +00:00
juha
bce7246f36 LCL: Formatting, indent with the same style as other code in unit.
git-svn-id: trunk@63843 -
2020-08-29 14:40:19 +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
zeljko
e91c53d5bc LCL: fixed regression, activate from delayed event should be called only if we are active form. issue #36877
git-svn-id: trunk@62892 -
2020-04-05 16:13:21 +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
juha
8e1067a191 LCL: Prevent an error when Monitor.PixelsPerInch=0 which may happen with GTK3 + Wayland. Issue #36220, patch from David.
git-svn-id: trunk@62212 -
2019-11-06 21:32:33 +00:00
juha
106e142af0 LCL: Wait for the first WMSize() before triggering onShow()/onActivate() of a form. Issue #36127, patch from Joeny Ang.
git-svn-id: trunk@62113 -
2019-10-24 22:34:22 +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
wp
3a1eff3f1f LCL/High-dpi: Fix form shrinking to title bar when PPI settings are changed during runtime of a 64-bit program. Issue #35971, patch by dmz73.
git-svn-id: trunk@61706 -
2019-08-16 14:23:54 +00:00
martin
b10aae8c1c LCL: TCustomForm.MakeFullyVisible, force SetBounds to interface, before Screen.MonitorFromWindow. Issue #034692
git-svn-id: trunk@60521 -
2019-02-26 19:31:08 +00:00
juha
c5b963c85e LCL: Remove some wrong and/or useless comment blocks.
git-svn-id: trunk@59902 -
2018-12-23 21:51:10 +00:00
ondrej
bc7f72a332 LCL: Remove CaptureControl when its handle is destroyed. Issue #33874, fixes r58312 #a82d438e12
git-svn-id: trunk@58314 -
2018-06-18 20:42:07 +00:00
michl
a82d438e12 LCL: TSpeedButton does not respond to pressing, after closing the modal form with a double click. Issue #33874
git-svn-id: trunk@58312 -
2018-06-18 20:21:33 +00:00
ondrej
dc47e847d7 LCL: better prefix for TApplicationDoubleBuffered values
git-svn-id: trunk@58104 -
2018-06-03 20:58:04 +00:00
ondrej
460bcc1dd5 LCL: DoubleBuffered & ParentDoubleBuffered support
git-svn-id: trunk@58097 -
2018-06-03 19:45:05 +00:00
michl
e8f9cb37c0 IDE: AnchorDocking: Revert revision 57947 #12c69fc609, as it breaks docking.
git-svn-id: trunk@58003 -
2018-05-22 20:16:58 +00:00
michl
12c69fc609 LCL: Fixed OnClick event not triggered for a TSpeedButton on a fresh created form when inside a TGroupBox. Issue #26638
git-svn-id: trunk@57947 -
2018-05-16 21:29:56 +00:00