Commit Graph

314 Commits

Author SHA1 Message Date
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
jesus
f76b44a7c6 LCL, dbgrid: implements FocusControl, issue #32057
git-svn-id: trunk@55422 -
2017-07-01 07:24:08 +00:00
ondrej
e6fe4815c6 lcl: dbgrids: fix default col widths. Issue #32021
git-svn-id: trunk@55381 -
2017-06-20 12:11:37 +00:00
wp
6aaa231cec LCL/dbgrids: Fire event OnGetCellHint also if option dgTruncCellHints is set.
git-svn-id: trunk@55212 -
2017-06-04 15:17:14 +00:00
wp
3c7559c6e2 Revert r55207 #11f3b76108
git-svn-id: trunk@55208 -
2017-06-04 13:28:44 +00:00
wp
11f3b76108 DBGrids: Improved cell hints.
git-svn-id: trunk@55207 -
2017-06-04 10:18:34 +00:00
ondrej
aa4dfd880b lcl: grids: add Options2 = [goScrollToLastCol, goScrollToLastRow]. Issue #31766
git-svn-id: trunk@54970 -
2017-05-18 13:52:33 +00:00
ondrej
b54495505b lcl: grids: high-DPI: rewrite ColWidth&RowHeight scaling so that it's Delphi and Lazarus 1.6 compatible.
git-svn-id: trunk@54948 -
2017-05-17 10:08:56 +00:00
ondrej
56f3c227b7 lcl: grids: revert r54883 #bff91a4961
git-svn-id: trunk@54885 -
2017-05-12 20:17:25 +00:00
ondrej
bff91a4961 lcl: grids: rename GetRealDefaultColWidth and GetRealDefaultRowHeight to GetRealDef* (LCL consistency). Issue #31715
git-svn-id: trunk@54883 -
2017-05-12 19:42:50 +00:00
ondrej
2abbee1637 lcl: dbgrids: adapt after r54816 #43e271b439. Issue #31765 and #31715
git-svn-id: trunk@54842 -
2017-05-08 21:37:25 +00:00
jesus
e366739dbb LCL: fix exception in DbGrid on clicking when dataset is inactive, patch from Soner, issue #31631
git-svn-id: trunk@54520 -
2017-04-04 20:49:41 +00:00
ondrej
5b2322946b lcl: dbgrids: workaround for FPC 3 issue #31532 (comment)
git-svn-id: trunk@54445 -
2017-03-18 13:51:19 +00:00
ondrej
34d80e9305 lcl: dbgrids: workaround for FPC 3 issue #31532
git-svn-id: trunk@54444 -
2017-03-18 13:37:42 +00:00