Commit Graph

751 Commits

Author SHA1 Message Date
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
juha
a3649ec49b LCL: Extend horizontal mouse wheel messages for Carbon and Cocoa. Remove ssHyper. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56659 -
2017-12-07 14:58:36 +00:00
juha
d171170bb6 LCL: Extend horizontal mouse wheel messages for Grid and TreeView. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56654 -
2017-12-06 11:25:07 +00:00
juha
d2b1729095 LazUtils: Rename TArray -> TPointerPointerArray.
git-svn-id: trunk@56396 -
2017-11-13 17:33:36 +00:00
juha
2b76275fb8 LCL: Use IntegerList in TGridDataCache for AccumWidth and AccumHeight.
git-svn-id: trunk@56395 -
2017-11-13 17:33:35 +00:00
juha
86aadcad56 LCL: Use IntegerList for FCols and FRows of TCustomGrid.
git-svn-id: trunk@56390 -
2017-11-13 17:33:29 +00:00
juha
ddec3eb450 LCL: Rename members in TVirtualGrid to avoid confusion with TGrid members. Eg. FCells -> FCellArr.
git-svn-id: trunk@56389 -
2017-11-13 17:33:28 +00:00
juha
8de5a73097 LCL: Prevent a crash when getting editor for an empty Grid. Issue #32623, patch from C Western.
git-svn-id: trunk@56235 -
2017-10-29 21:20:57 +00:00
juha
ec6a7b1e82 LCL: Cancel edit in grids and validate entry for TDrawGrid. Issue #27328, patch from Michl.
git-svn-id: trunk@55901 -
2017-09-23 14:33:06 +00:00
juha
009609b2f1 LCL, DbGrids: Clear only rows, not columns in TCustomGrid.SetRowCount. Remove debug code added earlier. Issue #31380.
git-svn-id: trunk@55895 -
2017-09-22 21:50:32 +00:00
juha
46a644e289 LCL, DbGrids: Add a workaround to prevent range error + some code for debugging issue #31380.
git-svn-id: trunk@55893 -
2017-09-22 12:28:51 +00:00
jesus
625ed6ca90 LCL, grids: update fixed cols/rows count on inserting a column/row in a fixed zone
git-svn-id: trunk@55766 -
2017-08-31 21:12:35 +00:00
jesus
56d952d15c LCL: grids: addded enabling triggering ValidateEntry on Paste with ValidateOnSetSelection property
git-svn-id: trunk@55746 -
2017-08-26 19:08:53 +00:00
jesus
1bd078ef60 LCL, grids: made EditorTextChanged, issue #32329
git-svn-id: trunk@55745 -
2017-08-26 19:02:43 +00:00
wp
b5248871cb grids: Undo publishing of TDrawGrid.CellHintPriority (compilation issues).
git-svn-id: trunk@55640 -
2017-08-06 22:40:30 +00:00