Commit Graph

327 Commits

Author SHA1 Message Date
zeljan1
87877c4fda DBGrids: fixed dgThumbTracking usage on dbgrid. issue #41451 2025-02-21 20:02:23 +01:00
Juha
8583ffa716 LCL: Formatting. 2024-11-23 08:10:58 +02:00
wp_xyz
ac40dd08e1 Revert unintentional changes in commit 33801729a2 2023-12-15 15:55:13 +01:00
wp_xyz
33801729a2 TAChart: Add event OnGetMarkText to TChartSeries providing more parameters. Deprecate OnGetMark. Issue #40647. 2023-12-15 15:07:11 +01:00
wp_xyz
0cbb6646f7 LCL/all units with controls: stream events at the end. 2023-08-12 14:55:46 +02:00
Maxim Ganetsky
dbfbdee461 Revert "Grids: uses const paramterers for strings where applicable. Patch by Alexey Torgashin. Issue #39851."
This reverts commit 72344a65f7.

These changes break compatibility (change signatures of virtual
methods), potentially unsafe (these strings can be potentially changed
through user callbacks and this will lead to crashes) and provide very
little (if at all) performance improvements.
2023-07-08 18:46:39 +03:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
wp_xyz
6c6bb1812a LCL/DBGrid: Publish some col/row dragging properties, patch by Joeny Ang. Issue #39994. 2022-11-12 13:21:12 +01: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
wp_xyz
c0efa0e93f LCL/DBGrid: Fix memory leak, patch by michalgw, issue #39904. 2022-09-16 19:55:14 +02:00
zeljan1
78b42debff Revert "Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main"
This reverts commit 9c4ae10819, reversing
changes made to 0e040a0d77.
2022-09-16 18:00:17 +02:00
wp_xyz
e21bc4cd01 LCL/DBGrid: Fix memory leak, patch by michalgw, issue #39904. 2022-09-15 23:42:57 +02:00
Juha
6402a449b3 LCL: Prevent double painting CustomDBGrid. Merge request !65 by Petr Kristan. 2022-01-30 00:18:49 +02:00
Jesus Reyes A
a80484b538 LCL, fix dbgrid right click selection when dgAnyButtonCanSelect option is active, patch by Emil Totev, issue #37357 2021-08-14 16:42:06 -05:00
Jesus Reyes A
a61af93917 LCL: Fix DBGrid AutoAdjustColumns for memo fields when dgDisplayMemoText option is active, issue #37776 2021-08-12 22:36:51 -05:00
Jesus Reyes A
fc83aefbd9 LCL: add FixedRowsExtra property to allow derived grids add more fixed rows. Fix issue #29303 2021-08-10 21:14:11 -05:00
Jesus Reyes A
a4db7e4e62 LCL, Grids: fix thumbtracking focusrect issues when scrolling, issue #35812 2021-08-03 10:15:37 -05:00
juha
bddeba7ebf LCL: Remove FUseCompareBookmarks hack from TBookmarkList.CheckActive. Issue #34834.
git-svn-id: trunk@64768 -
2021-03-08 08:15:52 +00:00
jesus
ad7d239447 LCL, fix DbGrid with multiselect option will cause AV on application exit, issue #38303
git-svn-id: trunk@64378 -
2021-01-12 06:18:00 +00:00
juha
753c843f12 LCL: Fix properly the grid issue #36172.
git-svn-id: trunk@62093 -
2019-10-19 15:40:00 +00:00
jesus
30f5f0b09d Grids: fix grid hints inconsistency, patch from Joeny Ang, issue #35453
git-svn-id: trunk@61184 -
2019-05-09 04:18:44 +00:00
jesus
514eedc7a1 LCL, grids: implements ColumnByTitle and ColumnByField
git-svn-id: trunk@60797 -
2019-03-30 08:33:57 +00:00
wp
50ae3c2e46 LCL/Grids: Re-add the OnUserCheckboxImage event (see r60571 #730fb31994+60578), patch by Zoran Vučenović, issue #35097.
git-svn-id: trunk@60579 -
2019-03-04 11:25:24 +00:00
wp
094543b6cb 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: trunk@60578 -
2019-03-04 10:08:39 +00:00
wp
730fb31994 LCL/Grids: Add OnUserCheckboxImage event to TStringGrid, TDrawGrid and TDBGrid. Patch by Zoran Vučenović, issue #35097.
git-svn-id: trunk@60571 -
2019-03-03 21:49:41 +00:00
jesus
40a8d09984 LCL, DbGrid fix OnMouseMove, issue #34390
git-svn-id: trunk@59713 -
2018-12-02 01:15:59 +00:00
jesus
49dc72b87e LCL: fix resizing the last dbgrid column while the mouse pointer is out of bounds, issue #34032
git-svn-id: trunk@58953 -
2018-09-11 17:46:07 +00:00
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
jesus
8144529ef7 LCL: fix dbgrids scrollbar thumbtracking, issue #33799
git-svn-id: trunk@58055 -
2018-05-30 22:04:37 +00:00
jesus
de467a095c LCL: fix dbgrid that corrupts an editing field which does't allow more changes, issue #33734
git-svn-id: trunk@58010 -
2018-05-23 03:49:41 +00:00
jesus
3d7b93845d LCL: Implemented an enumerator for dbgrid's bookmarklist.
git-svn-id: trunk@58009 -
2018-05-23 03:36:43 +00:00
ondrej
6aeda4ec09 LCL: grids: use LCLBtnGlyphs for checkbox images
git-svn-id: trunk@57746 -
2018-04-30 10:59:23 +00:00
michl
40285d1653 LCL: DBGrid: Fixed pressing RETURN in the last row of the DBGrid the focus stay in the last column. Issue #33294
git-svn-id: trunk@57458 -
2018-03-06 19:41:20 +00:00
jesus
59f6a71e8c LCL: DbGrid, just update the editor when the record changes, second try to fix issue #33281
git-svn-id: trunk@57438 -
2018-03-04 08:17:53 +00:00
jesus
632758d660 LCL: fix dbgrid not updating the editor while the record is modified, issue #0033281
git-svn-id: trunk@57428 -
2018-03-01 23:42:21 +00:00
juha
3070f417a7 LCL: Fix invalid typecast on TCustomDBGrid-based grids. Issue #33053, patch from Michal Gawrycki.
git-svn-id: trunk@57427 -
2018-03-01 14:54:10 +00:00
juha
778f207e50 LCL: Reduce UTF8Length calls. Call UTF16Length instead where appropriate.
git-svn-id: trunk@56638 -
2017-12-05 21:30:47 +00:00
jesus
39553de54e LCL, dbgrids: dgDisplayMemoText allows field editing too.
git-svn-id: trunk@56469 -
2017-11-22 21:51:48 +00:00
jesus
32ac63532a LCL, dbgrid: implements dgDisplayMemoText option for displaying the memo content instead of the text (memo)
git-svn-id: trunk@56463 -
2017-11-22 04:39:55 +00:00
juha
56f841fd39 LCL: Fix a memory leak in TBookmarkList.Refresh. Issue #31901, patch from Petr-K.
git-svn-id: trunk@56005 -
2017-10-09 17:17:06 +00:00
juha
38acac9e99 LCL: Improve row selection logic in DBGrid when opening a PopupMenu. Issue #32471, patch from Soner.
git-svn-id: trunk@55974 -
2017-10-04 22:43:27 +00:00
juha
3b86b0e628 LCL: Improve Tab and Enter behavior in TDBGrid when dgRowSelect in options. Issue #32468, patch from Michal Gawrycki.
git-svn-id: trunk@55942 -
2017-09-29 11:57:30 +00:00
juha
451dd1597a LCL: Don't unselect a row in DBGrid when opening a PopupMenu. Issue #32471, patch from Soner.
git-svn-id: trunk@55940 -
2017-09-28 12:07:22 +00:00
juha
51367feff0 LCL: In TDBGrid prevent "Grid index out of range" when dgRowSelect in options and tab or enter pressed. Issue #32468, patch from Michal Gawrycki.
git-svn-id: trunk@55931 -
2017-09-26 16:48:05 +00:00
juha
ca371a690d LCL, DBGrid: Add event OnDrawColumnTitle. Issue #27212, patch from Michl.
git-svn-id: trunk@55896 -
2017-09-22 22:44:43 +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
ondrej
380e645438 LCL: remove deprecated methods and properties (that were tagged to be removed in 1.9)
git-svn-id: trunk@55713 -
2017-08-20 10:25:04 +00:00
ondrej
70f73bf75f lcl: dbgrids: high dpi: scale indicator column width
git-svn-id: trunk@55669 -
2017-08-16 17:02:58 +00:00
ondrej
e92cc53a78 lcl: dbgrids: hide vertical scrollbar for ssNone and ssHorizontal style. Issue #32134
git-svn-id: trunk@55539 -
2017-07-19 06:55:25 +00:00