Commit Graph

6999 Commits

Author SHA1 Message Date
robert rozee
d070dd6b88 Edit control.inc,
fix for TControl.GetDefaultColor never recursing up to parent as it should. looks like
the original code was 'mangled' by a bad cut-and-paste a number of years back.
2025-03-16 10:27:54 +00:00
robert rozee
b3ce2c3b9b Merge branch lazarus:main into main 2025-03-16 10:18:25 +00:00
Juha
fa2ad4f983 LCL: One more sanity check for a new Notebook page name. Issue #36957. 2025-03-08 00:29:16 +02:00
Juha
a641e34bff LCL: Improve getting an unused name for a new Notebook page. Issue #36957. 2025-03-07 18:11:30 +02:00
Juha
a3f095480f LCL: Figure out an unused name for a new Notebook page. Issue #36957. 2025-03-06 17:17:26 +02:00
robert rozee
e0cc3cca3e Edit inputdialog.inc 2025-03-05 13:42:31 +00:00
rich2014
25e632015e LCL: fix a bug in ListView introduced @0e0ef8c where the checked state was not restored correctly after sorting. 2025-03-04 22:01:35 +08:00
n7800
b0512c1564 LCL: Cleaning the unused class TMemoStrings 2025-02-24 23:07:10 +00:00
wp_xyz
b8d68ac49e LCL/TreeView: Rename HideSelectionMode options from (hsmLaz, hsmDelphi) to (hsmGray, hsmHide) and deprecate them. Update the customdrawing demo. 2025-02-22 19:27:36 +01:00
wp_xyz
e4396f44b8 LCL/TreeView: Make property HideSelection (optionally) Delphi-compatible. Update sample project. 2025-02-18 19:09:58 +01:00
Martin
be89c477d9 LCL: fix TControlScrollBar needs update if owner's handle changes. Issue #40794 introduced in 4891f1f0e1 2025-02-13 01:49:57 +01:00
wp_xyz
8f5c0d7288 LCL/TreeView: Improved custom drawing. 2025-02-09 15:56:16 +01:00
n7800
90b91071fb LCL: Improving SelectInFolder implementation on Windows 2025-02-06 09:23:52 +00:00
JuhaManninen
498fd13c98 LCL-Win32: Simplify function SelectInFolder. 2025-02-03 20:49:50 +02:00
wp_xyz
654245a39e LCL/ImageList: Fix update of images after reloading. Issue #41386, based on patch by Massimo Magnano. 2025-02-03 12:45:20 +01:00
Juha
d8227cc4c4 LCL: Eliminate a variable in function DoOpen for Mac. 2025-02-02 10:23:41 +02:00
Juha
4164e5b669 LCL: Fix quote char in OpenDocument and SelectInFolder for Linux. 2025-02-02 10:08:30 +02:00
rich2014
b855e211b6 LCL/Cocoa: Implement SelectInFolder for macOS. 2025-02-02 10:44:51 +08:00
Juha
efa53c774a LCL: Implement SelectInFolder for Windows. 2025-02-02 01:27:39 +02:00
Juha
28ba5306c3 LCL: Add a new function SelectInFolder in LclIntf. Use it in source editor's StatusBar. 2025-02-01 18:28:44 +02:00
Juha
5bcc39179c LCL: Fix TTreeNode.GetTextPath. Issue #41356, patch by Don Siders. 2025-01-31 15:39:25 +02:00
Juha
476da882fa Delete some deprecated functions. Inspired by issue #41363. 2025-01-31 13:50:35 +02:00
Juha
9f5be67e36 LCL: Update TCombobox.ItemIndex when AutoCompleteing. Issue #41358, patch by Iluha Companets. 2025-01-31 02:20:42 +02:00
Juha
bc8578231c LCL: Use OwnerForm.Monitor when Position = poOwnerFormCenter. Issue #41377, patch by Artem Izmaylov. 2025-01-31 00:19:31 +02:00
Martin
9b4c81b56b 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 2025-01-27 13:09:05 +01:00
mattias
54e532cdbe lcl: fixed typo 2025-01-27 11:37:21 +01:00
Juha
9c1268e600 LCL: Do not clear Checked state of an Action when linked to TSpeedButton and the button gets disabled. Issue #41352, patch by Peter. 2025-01-23 20:22:29 +02:00
wp_xyz
e897d845ea LCL/TreeView: Avoid flicker when hot-tracking is active. Based on patch by @d7_2_laz, issue #41290. 2025-01-20 11:37:25 +01:00
zeljan1
2f94ecea69 LCL: renamed param. 2025-01-09 09:41:38 +01:00
zeljan1
34844aa934 LCL: SetDeviceScaleRatio renamed to SetCanvasScaleFactor. 2025-01-09 09:21:59 +01:00
Juha
c897bdf3cc LCL: Prevent a crash in menu when setting bitmap after removing ImageIndex. Issue #41307. 2025-01-04 15:06:40 +02:00
Martin
ce20675a1b LCL: MenuItem, SetBitmap did not trigger change when old Bitmap existed, and was only re-assigned 2025-01-04 13:14:11 +01:00
Martin
99e2074a2d LCL: Toolbar with menu, use MenuItem.Bitmap 2025-01-04 13:14:11 +01:00
Martin
ed082bc3ec LCL: Toolbar with menu, use sub-class / Fix menu sorting 2025-01-04 13:14:10 +01:00
Martin
e63194a5f2 DockedFormEditor: add menu preview via TToolbar.Menu. Patch by FerDeLance See MR !393 2025-01-04 13:10:26 +01:00
Martin
2faa5bdf05 LCL: Allow TToolbar to show a TMainMenu. Patch by FerDeLance See MR !393 2025-01-04 13:10:26 +01:00
wp_xyz
5169d4fe30 LCL/TTreeView: Fix failure to read dfm files written by Delphi XE2+. Issue #41303. 2025-01-04 00:32:14 +01:00
zeljan1
4edf9681f2 LCL: All normal chars are handled by combobox. issue #36235 2025-01-03 16:36:18 +01:00
Juha
0ed604c806 LCL: Make sure dragging is not cancelled. Issue #40266, patch by Alexey Torgashin. 2025-01-03 00:13:21 +02:00
zeljan1
4510285762 LCL: changed SetDeviceScaleRatio HGDIOBJ param to HDC to be inline with cocoa abilities. 2025-01-02 12:08:47 +01:00
zeljan1
065994a7d1 LCL, Qt5, Qt6: renamed SetBitmapScaleRatio to SetDeviceScaleRatio with HGDIOBJ as param. 2025-01-01 17:44:46 +01:00
zeljan1
1aed29d27c LCL: added TWidgetSet.SetBitmapScaleRatio, needed by issue #41299 2024-12-31 20:07:05 +01:00
Martin
2ef4fc98ab LCL, TToolBar: Added property Orientation 2024-12-29 18:08:44 +01:00
Martin
d9a5787be8 LCL, Toolbar: fix CalculatePreferredSize to honour constraints 2024-12-28 20:11:27 +01:00
Martin
51da4aa0c4 LCL: Workaround for RTL / init result - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063 2024-12-19 11:48:00 +01:00
Martin
aa9ce848b7 LCL: Workaround for RTL - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063 2024-12-17 12:26:34 +01:00
Bart
633cb5bbc0 TColorDialog: implement property AlphaChannel and associated option cdShowAlphaChannel for GTK2. 2024-12-14 15:54:25 +01:00
Bart
9077ef32a2 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).
2024-12-08 13:56:30 +01:00
Bart
4204fa7a65 TListView: fix potential AV in SetDropTarget. Issue #19083. 2024-12-07 18:45:20 +01:00
Juha
8583ffa716 LCL: Formatting. 2024-11-23 08:10:58 +02:00