Commit Graph

765 Commits

Author SHA1 Message Date
martin
2c03a634c5 Merged revision(s) 64165 #7d90e95e0b, 64167-64168 #51302252eb-#51302252eb, 64195 #aa8f480e17, 64199 #473e65ba01, 64211 #1c9c36d205, 64267 #5197500844 from trunk:
LCL: Propogate TAction.ImageIndex to TSpeedButton.ImageIndex. Issue #38135, patch from Anton Kavalenka.
........
LCL-GTK2: Paint a form with one color also after scrolling. Issue #16183, patch from Joeny Ang.
........
LCL/CheckGroup: Fix items and checkboxes getting out of sync upon Items.Insert. Issue #38157.
........
LCL/Grids: Fix grids truncating cell height during editing if TitleFont.Size is smaller than Font.Size. Issue #38203).
........
IDE: Prevent an infinite loop when comparing files. Issue #38185, patch from Domingo Galmés.
........
LCL/FileListbox: Update selected filename when ItemIndex is set
........
LCL: Fix selected items of TComboBoxEx and TCheckComboBox not being painted with color clHighlightText.
........

git-svn-id: branches/fixes_2_0@64612 -
2021-02-18 01:23:59 +00:00
martin
c00cb12cca Merged revision(s) 63596 #727eb0ef72, 63627 #4fde982e86 from trunk:
LCL: Prevent DBGrid raising exception after enabled and hiding inplace editor. Issue #37385, patch from Zdravko Gabrovski.
........
Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396, patch from Imants Gulbis.
........

git-svn-id: branches/fixes_2_0@64608 -
2021-02-18 01:00:29 +00:00
mattias
c39bc40c24 Grids: fix decoding HTML entities when pasting HTML. Issue #0037258
git-svn-id: branches/fixes_2_0@63489 -
2020-07-03 10:07:35 +00:00
mattias
bbbafe2991 LCL: Fix TDBGrid editor alignment when FixedCells>1. Issue #35715
git-svn-id: branches/fixes_2_0@62867 -
2020-04-02 16:01:13 +00:00
maxim
cb59956acd Merged revision(s) 62505-62506 #fbf5621974-#fbf5621974 from trunk:
LCL: grids: don't store default TitleFont
........
Grid: fix High-DPI font scaling
........

git-svn-id: branches/fixes_2_0@62838 -
2020-03-31 21:25:27 +00:00
maxim
c30586b3f9 Merged revision(s) 62621 #acc7de51bd from trunk (separate patch by Bart):
TStringGrid: also call DoCellProcess when pasting HTML. Issue #0036576.
........

git-svn-id: branches/fixes_2_0@62836 -
2020-03-31 21:23:17 +00:00
maxim
1583512c04 Merged revision(s) 61053 #6096106179, 61740 #563a44c1d6, 61945-61947 #96eee65d5d-#96eee65d5d, 62031 #9cad1b3feb from trunk:
LCL: Handle mouse events through shaped TWinControl. Issue #35270, patch from ptvs.
........
lcl, fix TDbgrid wrong width of first column if FixedCells>1 and dgIndicator is turned off, issue #35716
........
LCL: override TSpinEdit.GetLimitedValue so it cannot return values outside the integer range. Issue #0032793.
........
LCL: fix crash in TStringGrid.InsertRowWithValues is Columns.Enabled is True. Issue #0036067
........
LCL: fix TTaskDialog.ModalResult if closebutton (in CommonButtons) is clicked. Issue #0036069.
........
LCL/grids: Fix misplaced horizontal grid scrollbar after form maximize. Issue #35472, patch by Pavol S.
........

git-svn-id: branches/fixes_2_0@62082 -
2019-10-18 22:03:17 +00:00
maxim
f0b6c788ff Merged revision(s) 60571 #730fb31994, 60578 #094543b6cb from trunk:
LCL/Grids: Add OnUserCheckboxImage event to TStringGrid, TDrawGrid and TDBGrid. Patch by Zoran Vučenović, issue #35097.
........
LCL/Grids: Undo part of r60571 #730fb31994. What is left fixes drawing of user-provided checkboxes for TDBGrid and can be back-ported to Fixes (issue #35085)
........

git-svn-id: branches/fixes_2_0@60607 -
2019-03-06 23:08:47 +00:00
mattias
35469e962b LCL: Grids, Fix crashes if rows/cols are reduced and editor was active in removed grid area. Hide the Editor if cell no longer exists (same as in DeleteRow). Issue #0034930
git-svn-id: branches/fixes_2_0@60375 -
2019-02-09 08:44:25 +00:00
maxim
20a85eb6bc Merged revision(s) 59960 #ecffcbf542, 59985 #30e9e11e8c from trunk:
LCL, grids: fix TStringGrid copy/paste to/from MS Excel and OO Calc bug, patch from K155LA3, issue #30623
........
LCL: TCustomTabControl: don't fire OnChanging when programatically changing TabIndex/PageIndex. Patch by Michl. Issue #0033720.
........

git-svn-id: branches/fixes_2_0@59992 -
2019-01-04 14:15:58 +00:00
mattias
d7add52d79 LCL: Fix stringgrid double validation and revert patch that broke extending selection, modified patch from tintinux, Issue #34306
git-svn-id: branches/fixes_2_0@59954 -
2018-12-31 12:45:27 +00:00
mattias
278a92909b LCL: Prevent a double validation message in TStringGrid. Issue #34306, patch from Tintinux
git-svn-id: branches/fixes_2_0@59953 -
2018-12-31 12:44:59 +00:00
jesus
5ec773de73 LCL: grids, implements autoedit when double clicking. Issue #33888
git-svn-id: trunk@58958 -
2018-09-12 02:29:06 +00:00
jesus
528b7210b5 LCL: modified grid comment about exchange cols/rows
git-svn-id: trunk@58957 -
2018-09-12 02:02:57 +00:00
bart
828f4e74ef TValueListEditor: implement sort. Based on a patch by Jesus Reyes. Issue #0034141.
git-svn-id: trunk@58773 -
2018-08-24 16:06:59 +00:00
jesus
824d21014a LCL: reset row's top and bottom bounds after drawing cell and fix merge cells example issue #34017
git-svn-id: trunk@58711 -
2018-08-15 08:07:10 +00:00
jesus
e040a8ff23 LCL: Fix painting extended cell, issue #34017
git-svn-id: trunk@58708 -
2018-08-14 18:43:13 +00:00
wp
b40b0339fa LCL: Fix crash of grid when it is cleared while a cell is in edit mode.
git-svn-id: trunk@58625 -
2018-07-24 21:21:44 +00:00
wp
f7e5c6c595 LCL: Fix grid not being repainted when the last row is deleted by setting RowCount to 0 (issue #34025, comment #0109658).
git-svn-id: trunk@58624 -
2018-07-24 19:09:14 +00:00
wp
eadf7690aa LCL: Fix grids crashing when a key is pressed after the last row has been deleted (issue #34025)
git-svn-id: trunk@58623 -
2018-07-24 19:02:59 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +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
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
jesus
825c389d9b LCL, fix grid's goScrollKeepVisible, issue #33783
git-svn-id: trunk@58024 -
2018-05-25 06:22:40 +00:00
wp
d60896d479 LCL/grids: Fix position of grid header icons in case of right-to-left mode.
git-svn-id: trunk@57977 -
2018-05-20 07:46:03 +00:00
wp
3054d073cf LCL/Grids: Mirror position of sort icon in grid header cells if BiDi is set to right-to-left.
git-svn-id: trunk@57976 -
2018-05-19 21:21:05 +00:00
wp
835a65e709 LCL/grids: Show sort arrows in header of sorted grid even if the grid does not define columns (issue #33731) -- hopefully correct now...
git-svn-id: trunk@57969 -
2018-05-19 10:17:55 +00:00
wp
a47fa2b041 LCL/grids: Undo commits r57960 #7ea1e8cd31 and 57963
git-svn-id: trunk@57964 -
2018-05-18 22:22:59 +00:00
wp
0c2a0ee826 lcl/grids: Fix sort arrow of grid with columns being painted twice after prev commit.
git-svn-id: trunk@57963 -
2018-05-18 21:46:36 +00:00
wp
7ea1e8cd31 LCL/grids: Show sort arrows in header of sorted grid even if the grid does not define columns (issue #33731).
git-svn-id: trunk@57960 -
2018-05-18 21:05:49 +00:00
ondrej
e5ab08f99b LCL: grids: remove checkbox images
git-svn-id: trunk@57927 -
2018-05-13 19:44:29 +00:00
ondrej
26213f037c lcl: TLCLGlyphs: fix rounding error when calculating suffixes
git-svn-id: trunk@57864 -
2018-05-09 01:36:25 +00:00
ondrej
56ba252d91 LCL: LCLGlyphs: Suffix100Scale
git-svn-id: trunk@57856 -
2018-05-08 23:02:58 +00:00
hnb
42b24279aa LCL: grids: fix potential Access Violation
git-svn-id: trunk@57797 -
2018-05-06 22:54:01 +00:00
ondrej
9fae8f17bf LCL: grids: fix compilation with FPC 3.0.x
git-svn-id: trunk@57764 -
2018-05-01 20:27:49 +00:00
ondrej
2f9cdb4f2d LCL: move+rename Buttons.LCLBtnGlyphs to ImgList.LCLGlyphs
git-svn-id: trunk@57761 -
2018-05-01 13:53:54 +00:00
ondrej
5646ae5bec LCL: grids: fix use theme sort arrows if themed arrows are not available
git-svn-id: trunk@57753 -
2018-05-01 09:03:38 +00:00
ondrej
8490f66838 LCL: grids: use theme sort arrows
git-svn-id: trunk@57751 -
2018-05-01 08:26:45 +00:00
ondrej
c21438af96 LCL: grids: rewrite title image drawing. Don't misuse title image list for sort glyphs.
git-svn-id: trunk@57750 -
2018-05-01 07:17:27 +00:00
ondrej
c4fd3db448 LCL: grids: use LCLBtnGlyphs for sort images
git-svn-id: trunk@57748 -
2018-04-30 11:26:33 +00:00
ondrej
f26d843766 LCL: grids: fix GetDefaultRowHeight Font PPI
git-svn-id: trunk@57747 -
2018-04-30 11:00:14 +00:00
ondrej
6aeda4ec09 LCL: grids: use LCLBtnGlyphs for checkbox images
git-svn-id: trunk@57746 -
2018-04-30 10:59:23 +00:00
wp
c21a4162b9 LCL: Replace some lcl images by more well-known ones (in several Hi-DPI resolutions, by Roland Hahn). Fix grids.pas not compiling with png instead of xpm images.
git-svn-id: trunk@57744 -
2018-04-30 08:42:11 +00:00
jesus
00d168199d LCL: Paint the focus rectangle white when UseXORFeatures=true, issue #33042
git-svn-id: trunk@57661 -
2018-04-17 18:35:26 +00:00
juha
6d91ea5294 LCL: Remove an assertion when getting an invalid cell rect in TCustomGrid. Return Rect(0,0,0,0) instead. Issue #33273.
git-svn-id: trunk@57416 -
2018-02-28 13:20:29 +00:00
ondrej
4a5dab2d4b LCL: fix compilation with FPC 3.0.0
git-svn-id: trunk@57167 -
2018-01-27 18:55:34 +00:00
ondrej
454fc69b9e LCL: High-DPI ImageList: rename *ForImagePPI to *ForPPI
git-svn-id: branches/HiDPIImageList@57068 -
2018-01-13 04:25:01 +00:00
ondrej
90f22ba7fd LCL: High-DPI ImageList: LCL runtime and win32
git-svn-id: branches/HiDPIImageList@57039 -
2018-01-10 12:46:42 +00:00
bart
b63451bdf7 Grids: factor out IsEmptyRow function and correctly use the ARow paramter inside the function. Issue #0032965.
git-svn-id: trunk@57005 -
2018-01-07 16:57:10 +00:00