Commit Graph

839 Commits

Author SHA1 Message Date
Ondrej Pokorny
99caa084fc Revert TFontStyles to the original size 2022-12-22 15:07:14 +01:00
Ondrej Pokorny
43d7f20349 FPC: Extend System.UITypes 2022-12-18 08:50:17 +01:00
wp_xyz
a1f01e1976 LCL/Grids: Erase grid col/row drag indicator when no col/row swap is performed. Patch by Joeny Ang, issue #39995 2022-11-12 00:34:43 +01:00
Bart
675ad02215 Grids: implement option to set ParentColor and ParentFont of the internal cell editor. 2022-10-15 16:10:35 +02:00
Bart
72344a65f7 Grids: uses const paramterers for strings where applicable. Patch by Alexey Torgashin. Issue #39851. 2022-10-09 19:06:22 +02:00
Juha
a7ea210cb7 LCL: Use built-in TPoint operator <>. 2022-10-06 01:57:46 +03:00
Juha
e7e7e8c0c0 LCL: Move CustomGrid column/row by mouse drag outside the client area. Merge request !64 by Petr Kristan. 2022-10-05 13:35:23 +03:00
wp_xyz
024e28702a LCL/Grids: Remove internal function PointIgual(), use built-in TPoint operator <> instead, issue #39850. 2022-08-14 23:45:21 +02:00
juha
0bd2462114 LCL: Clean comments in Grid Options. Issue #39848, patch by Alexey Torgashin. 2022-08-11 08:15:44 +03:00
Bart
8abffea77a Grids: capitalize Sender. Patch by Alexey Torgashin. Issue #39849. 2022-08-10 23:00:28 +02:00
Juha
7f199b0d44 LCL: Prevent an exception with MouseDown on a Grid which lost focus. Issue #39730, patch by Soner. 2022-05-18 00:27:27 +03:00
wp_xyz
478e5101d9 LCL/StringGrid: Fix crash when Columns are exchanged and column indices are specified in reverse order. 2022-04-06 00:14:48 +02:00
wp_xyz
d2701ed5d1 LCL/Grids: Fix cell painting when text is rotated. 2022-03-16 11:11:55 +01:00
Sergey Larin
b7d3edc2d9 Unfocused selection color calculation adapted for Windows.
Under Windows, by default color should be clBtnFace.
2022-02-19 20:19:16 +03:00
Sergey Larin
5f6af4313f Use a special color for selected cells when Grid has no focus 2022-02-19 19:03:23 +03:00
Juha
7f6c15e911 LCL: Do not Invalidate a CustomGrid in every MouseUp. Merge request !66 by Petr Kristan. 2022-01-30 00:31:19 +02:00
wp_xyz
7114800c05 LCL/TCustomGrid, TCustomCheckBoxEx: Add missing Notification method to react on destruction of TitleImageList and Images, respectively. 2021-12-16 14:52:01 +01:00
Ondrej Pokorny
28a1fe7da8 grids: eat escape key only if handled by the editor 2021-11-18 15:13:56 +01:00
Juha
ce6715ed78 Correct spelling errors for "Width" in various units. Issue #39402, patch by Don Siders. 2021-09-26 21:40:16 +03:00
Jesus Reyes A
282f0a29fe LCL: grids: enable ellipsis editor color. 2021-09-04 19:04:07 -05:00
Jesus Reyes A
f8f1652fd4 LCL: Fix grid ellipsis editor layout. Issue #34307 2021-09-04 18:43:42 -05:00
Jesus Reyes A
19530e0548 LCL: Grids: Fix size of moved block in AutoFillColumns 2021-08-25 10:06:20 -05:00
Jesus Reyes A
976c56ef7c LCL: Grids, allow compiling with FPC 3.0.4 2021-08-24 20:09:24 -05:00
Jesus Reyes A
1eeb23074a LCL: fix TValueListEditor LoadContent in case of exceptions, issue #36182 2021-08-24 02:24:27 -05:00
Jesus Reyes A
f530072937 LCL: grids: AutoFillColumns, loop should count down to 0 as sometimes it deletes columns 2021-08-23 23:54:30 -05:00
Jesus Reyes A
239be664c0 LCL: Grids, fix typo that breaks compiling. 2021-08-23 12:45:01 -05:00
Jesus Reyes A
7b9589dc61 LCL: grids: Implements MinSize/MaxSize column properties for grids with AutofillColumns=true, issue #34548 2021-08-23 12:21:06 -05:00
Jesus Reyes A
850a20e3f5 LCL: Grids: publish GridLineColor, GridLineStyle, patch by AlexTP, issue #35647 2021-08-05 17:50:10 -05:00
Jesus Reyes A
a4db7e4e62 LCL, Grids: fix thumbtracking focusrect issues when scrolling, issue #35812 2021-08-03 10:15:37 -05:00
Jesus Reyes A
d19cd29754 LCL: Fix grid pasting of selection into Excel doesn't preserve text line endings and may generate merged cells. Patch from K155LA3, issue #34789 2021-08-02 16:04:27 -05:00
Jesus Reyes A
2b5a54edc4 LCL: Grids, Allow users to have a peek at the editor events, fixes issue #23983 2021-07-30 15:06:38 -05:00
Jesus Reyes A
3ae2076292 LCL: fix grids UTF8Keypress, issue #38666 2021-07-30 14:49:25 -05:00
bart
5ae03bd920 Fix spelling errors in grids.pas. Patch by Don Siders. Issue #0039093.
git-svn-id: trunk@65320 -
2021-06-28 18:16:15 +00:00
bart
4b9ae7f263 Grids: use out parameters in MouseToCell and OffsetToColRow. Issue #0038847.
git-svn-id: trunk@65087 -
2021-05-05 16:00:16 +00:00
jesus
618596c2ba LCL: fix grids bidi TAB behaviour as by Zaher Dirkey comments, issue #38186
git-svn-id: trunk@64402 -
2021-01-17 19:08:22 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
wp
aa8f480e17 LCL/Grids: Fix grids truncating cell height during editing if TitleFont.Size is smaller than Font.Size. Issue #38203).
git-svn-id: trunk@64195 -
2020-12-11 15:18:33 +00:00
wp
09ee5f1c56 LCL-Grids and VirtualTreeView: Move "FixDesignFontsPPI" for the basic components to "public". Declare as "override" for VTV.
git-svn-id: trunk@63831 -
2020-08-26 14:36:34 +00:00
juha
727eb0ef72 LCL: Prevent DBGrid raising exception after enabled and hiding inplace editor. Issue #37385, patch from Zdravko Gabrovski.
git-svn-id: trunk@63596 -
2020-07-18 21:58:11 +00:00
juha
e2840b9665 LCL: Fix a regression in TSTringGrid caused by r63541 #1f0ff07dc2. Test for Editor.Parent instead of Editor.Owner.
git-svn-id: trunk@63571 -
2020-07-16 09:26:39 +00:00
juha
1f0ff07dc2 LCL: Prevent a crash when closing a form with an active in-place cell editor of a grid. Issue #37202.
git-svn-id: trunk@63541 -
2020-07-11 09:07:35 +00:00
bart
02ae498e8e Grids: fix decoding HTML entities when pasting HTML. Issue #0037258.
git-svn-id: trunk@63457 -
2020-06-28 13:49:54 +00:00
juha
9612688bb2 LCL: Fix IME support for grids. Issue #36854, patch from Do-wan Kim.
git-svn-id: trunk@62954 -
2020-04-13 07:54:38 +00:00
juha
ff5b89a4f7 LCL: Fix TDBGrid editor alignment when FixedCells>1. Issue #35715, patch from Luca Olivetti.
git-svn-id: trunk@62847 -
2020-04-02 10:07:16 +00:00
wp
ac24214ca9 LCL/grids: Undo r62665 #275e406278
git-svn-id: trunk@62675 -
2020-02-26 22:31:38 +00:00
wp
275e406278 LCL/Grids: Hide sort arrow when rows are rearranged in a column-sorted grid.
git-svn-id: trunk@62665 -
2020-02-23 11:51:44 +00:00
wp
b9992c54b1 LCL/Grids: Add public method HideSortArrow (Needed when rows of sorted grid are reordered manually, https://forum.lazarus.freepascal.org/index.php/topic,48568.msg349824)
git-svn-id: trunk@62644 -
2020-02-19 06:13:59 +00:00
bart
acc7de51bd TStringGrid: also call DoCellProcess when pasting HTML. Issue #0036576.
git-svn-id: trunk@62621 -
2020-02-08 18:11:34 +00:00
ondrej
f97bf899bb Grid: fix High-DPI font scaling
git-svn-id: trunk@62506 -
2020-01-07 13:26:46 +00:00