Commit Graph

6963 Commits

Author SHA1 Message Date
Juha
43826bad9b LCL: One more sanity check for a new Notebook page name. Issue #36957. 2025-03-08 01:16:43 +02:00
Juha
da72bc4790 LCL: Improve getting an unused name for a new Notebook page. Issue #36957. 2025-03-08 01:16:18 +02:00
Juha
7ce60d77d9 LCL: Figure out an unused name for a new Notebook page. Issue #36957. 2025-03-08 01:16:04 +02:00
rich2014
5dda26a287 LCL: fix a bug in ListView introduced @0e0ef8c where the checked state was not restored correctly after sorting. 2025-03-04 22:33:04 +08:00
Martin
fffb466f65 LCL: fix TControlScrollBar needs update if owner's handle changes. Issue #40794 introduced in 4891f1f0e1
(cherry picked from commit be89c477d9)
2025-02-13 17:36:51 +01:00
Juha
38930b91d5 LCL: Update TCombobox.ItemIndex when AutoCompleteing. Issue #41358, patch by Iluha Companets.
(cherry picked from commit 9f5be67e36)
2025-02-01 11:23:36 +02:00
Martin
717ab6381d * IDE, DockedFormEditor: Amend "Check for csDesignInstance, ...". Keep old check too, for increased compatibility Issue #41368 2025-01-28 00:18:28 +01:00
Martin
8f7ffbe676 IDE, DockedFormEditor: Check for csDesignInstance, instead of csDesigning to determine if a form/frame is the top-parent in the designer. (To disable autosizing for them). Issue #41368
(cherry picked from commit 9b4c81b56b)
2025-01-28 00:18:28 +01:00
wp_xyz
e7255ed7fc LCL/TreeView: Avoid flicker when hot-tracking is active. Based on patch by @d7_2_laz, issue #41290.
(cherry picked from commit e897d845ea)
2025-01-27 17:05:06 +01:00
Juha
b7d0231a53 LCL: Prevent a crash in menu when setting bitmap after removing ImageIndex. Issue #41307.
(cherry picked from commit c897bdf3cc)
2025-01-06 21:13:18 +02:00
Željan Rikalo
1f145da219 LCL: All normal chars are handled by combobox. issue #36235
(cherry picked from commit 4edf9681f2)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-01-03 15:55:04 +00:00
Martin
0626a4a224 LCL: Workaround for RTL / init result - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063
(cherry picked from commit 51da4aa0c4)
2024-12-19 11:48:34 +01:00
Martin
4de3ad6504 LCL: Workaround for RTL - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063
(cherry picked from commit aa9ce848b7)
2024-12-17 22:59:38 +01:00
Bart
eecc3645f1 LCL: implement TColorDialog.Options. Currently only supported for Win32/Win64 widgetset. Issue #22717.
The default value differs from Delphi (7) for backwards compatibility (CC_FULLOPEN flag was always set in Windows).

(cherry picked from commit 9077ef32a2)
2024-12-08 21:38:42 +01:00
Maxim Ganetsky
5b60a5e128 LCL: Don't modify hint position when it is shown via calling HintWindow.ActivateWithBounds method (useful for SynEdit).
Also cleanup useless FActivating assignment (it is a simple field
without any side effects).

(cherry picked from commit 301fcda550)
2024-11-14 02:52:36 +03:00
rich2014
3989144ccb LCL: fix hint window bounds issue introduced in a2057a6., issue #41194
(cherry picked from commit aeca9749b1)
2024-11-14 02:52:36 +03:00
wp_xyz
691f2c7e41 LCL: Fix disappearing taskbar icon when FormStyle is fsNone or fsDialog. Patch by Iluha Companets, issue #41189.
(cherry picked from commit 01640ee298)
2024-10-29 22:35:43 +01:00
Maxim Ganetsky
a2057a647e LCL: allow to properly pass HintData to hint window, patch by Artem Izmaylov, issue #41194
(cherry picked from commit 32947827e5)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-10-18 19:49:32 +00:00
wp_xyz
63d7d26da0 LCL: Fix form icon appearing when modal form opens a border-less second modal form. Issue #41189, patch by @d7_2_laz.
(cherry picked from commit 939daf5466)
2024-10-17 19:08:10 +02:00
Martin
9c9902c1fc LCL: fix DPI scaling for aligned controls with anchor on their free site. Issue #41007 2024-10-05 13:11:35 +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
Željan Rikalo
dda392d165 LCL: commented debugLn() 2024-09-11 17:11:09 +02:00
Bart
3afd9c5762 LCL: in TMenuItem.InternalRethinkLines un-hide a separator if a previously hidden (but now visible) menu-item was between separators. Part of issue #41028. 2024-09-10 18:49:29 +02:00
wp_xyz
8f6a59c9a2 LCL/TSpeedButton: Layout improvements when AutoSize = false 2024-09-10 13:07:57 +02:00
n7800
fd3746f36e LCL: Minor cleanup and optimization of functions in "controlsproc.inc" 2024-09-09 21:43:54 +00:00
wp_xyz
d216b7144d LCL/SpeedButton: Fix autosizing of TSpeedButton. Issue #41119, based on patch by michalgw 2024-09-09 22:24:17 +02:00
Bart
c55033b82c LCL: attempt to simplify TMenuItem.InternalRethinkLines. Hope it covers all cases. Part of issue #41028. 2024-09-09 20:15:45 +02:00
Željan Rikalo
b83d086ebd LCL: Removed debugln() from TMenuItem.InternalRethinkLines 2024-09-07 12:46:09 +02:00
rich2014
72f42b17e1 LCL: fix the bug in TListItems.Exchange()
CacheIndex has been changed from AIndex1 to AIndex2
2024-09-07 14:56:13 +08:00
Bart
93af67085a Fix unwanted disabling of TMenuItem.Action in the designer. Issue #41109. 2024-09-03 23:23:17 +02:00
Juha
f7ab06f51d LCL: Hide emulated TextHint in TCustomComboBox.SetItemIndex. Issue #41108, based on patch by Iluha Companets. 2024-09-02 12:00:07 +03:00
Bart
e762d9b696 LCL: first try at implementing TMenuItem.AutoLineReduction. Based upon patch by Artem Izmaylov, modified by me. 2024-08-31 13:23:19 +02:00
Juha
48cf66858d LCL: Prevent crash in RadioGroup when hidden radiobutton is selected by arrow keys. Issue #41093. 2024-08-24 21:21:02 +03:00
wp_xyz
9ec4b13788 LCL/RadioGroup: Fix radiogroup with buttons hidden in TForm.OnCreate handler. Issue #41091. 2024-08-24 19:13:28 +02:00
n7800
63f44cf8e7 LCL: Check TRadioButton when using keyboard accelerator ("&" in caption) 2024-08-21 18:08:07 +00:00
Juha
e7763dbb0c LazUtils: Deprecate Utf16StringReplace(). FPC now has good replacements. Issue #41068, by Alexey Torgashin. 2024-08-12 10:04:24 +03:00
Juha
d944f9f554 LCL: Update Caption of a TPageControl when something is docked there. Issue #40741, patch by Anton Kavalenka. 2024-07-31 00:35:26 +03:00
Juha
d9ef4ae9ab LCL: Allow only one "Default" MenuItem per menu or submenu. Issue #41034, patch by Massimo Magnano. 2024-07-30 10:42:35 +03:00
wp_xyz
987f140c91 LCL/PopupMenu: Make TPopupMenu.PopupPoint a writable property. 2024-07-27 12:12:28 +02:00
rich2014
46a014d098 Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi 2024-07-02 21:32:32 +08:00
rich2014
1ac92dd342 Cocoa & Db: Fix #40985 the issue that Space can't activate editing 2024-06-19 22:22:29 +08:00
rich2014
1b18f09376 dbmemo: Fix blob issue in TDBMemo.LoadMemo() 2024-06-15 21:30:31 +08:00
rich2014
f358fd7d17 Cocoa: Fix TDBEdit as TDBMemo (issue #40985) 2024-06-14 23:14:13 +08:00
rich2014
dcacf7aaac Cocoa: Fix #40985, enter the edit state in KeyDown() 2024-06-14 23:04:40 +08:00
David Jenkins
9da0d75b79 Add CM_THEMEDCHANGED to TWinControl.WndProc to catch widget system light/dark change 2024-06-07 00:05:39 +00:00
rich2014
da0cab134e LCL: fix the issue #19685 that painting TGraphicsControl on Designer Overlay DC
1. the issue only occurs at design time
2. the issue is that Control should not be painted on Designer Overlay Layer
2024-06-02 23:49:17 +08:00
Juha
d784606f77 LCL: Fix deprecation warnings. Issue #40918, patch by Don Siders. 2024-04-26 00:59:26 +03:00
wp_xyz
755dea7b4d LCL/TComboboxEx: Draw scaled icons. Issue #40905, patch by foxpas. 2024-04-16 11:15:23 +02:00
Martin
689ef2119f LCL: Fix CalculatePreferredSize. HorizontalSpacing was sometimes used for vertical size. Issue #20445 2024-03-27 20:02:04 +01:00
Martin
1f35f2f89b LCL: ChildSizing, fix calculating MaxWidth/Heigh for cell. If any chell in the Column(or Row in case of Height) has a Constraint it will apply (even if other are not constraint). If several have MaxWidth, the smallest MaxWidth applies. 2024-03-24 20:13:12 +01:00