Commit Graph

296 Commits

Author SHA1 Message Date
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
jesus
fad73bb819 LCL, fix for index out of range when using DbGrid's OnRowMoved, see issue #31061
git-svn-id: trunk@53986 -
2017-01-23 20:20:34 +00:00
jesus
42132a8872 LCL, dbgrid: implements OnRowMoved event (public) by Gabor Boros (with changes), issue #31061
git-svn-id: trunk@53837 -
2017-01-02 17:59:38 +00:00
jesus
36c4499319 LCL, DbGrids: Fix result of DBGrid.MyCompareBookmarks, from Luiz Americo, issue #28743
git-svn-id: trunk@52706 -
2016-07-17 19:30:48 +00:00
jesus
af0ed1ee21 LCL, grids: Fix dbgrid header click issue #28919
git-svn-id: trunk@52617 -
2016-07-04 06:26:35 +00:00
jesus
4d57da51b5 LCL, Grids: Implements AutoAdjustColumns in DbGrid, deprecates AutoSizeColumns. Fix Indicator resize problem, issue #30061
git-svn-id: trunk@52583 -
2016-06-29 00:59:27 +00:00
jesus
089966371b LCL, dbgrids implements dgDblClickAutoSize: an option for automatically resize a column when the mouse cursor is at column border, modified patch by Gabor Boros, issue #30061
git-svn-id: trunk@52576 -
2016-06-23 20:23:15 +00:00
ondrej
4f22e5e67a lcl: dbgrids: allow smooth scrolling only for horizontal scrollbar.
git-svn-id: trunk@52350 -
2016-05-23 05:04:26 +00:00
ondrej
c9fd0654b7 lcl: dbgrids: disable goSmoothScroll. Issue #30165
git-svn-id: trunk@52348 -
2016-05-23 04:47:08 +00:00
ondrej
f573bc33de LCL: dbgrids: fix vertical scrollbar range for empty dataset.
git-svn-id: trunk@52334 -
2016-05-20 11:14:06 +00:00
jesus
712eae76cd LCL, dbgrid: fix exception on adding second record (regression caused by r51914 #5224c3c339), fixes issues #29802, #29813
git-svn-id: trunk@51918 -
2016-03-11 16:24:10 +00:00
jesus
5224c3c339 LCL, grids: check that clicked cell is within valid grid zone. Do not trigger cellClick on dbgrid indicator column. Fixes issue #29802
git-svn-id: trunk@51914 -
2016-03-11 05:39:00 +00:00
juha
3d8be36eb6 LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup".
git-svn-id: trunk@51045 -
2015-12-26 18:55:45 +00:00
ondrej
3afba023bb LCL: grids: support csNoFocus. Modified patch from Gabor Boros. Issue #28931
git-svn-id: trunk@50454 -
2015-11-20 22:24:29 +00:00
mattias
89190707c1 LCL: exploded some With-blocks for fpc 3.1.1
git-svn-id: trunk@50237 -
2015-11-06 18:35:28 +00:00
jesus
684039eff1 LCL, fix crash on inserting record in multiselect dbgrid, from Luiz Americo, issue #28688
git-svn-id: trunk@49856 -
2015-09-21 03:34:31 +00:00
jesus
921d9bb6f6 LCL, grids: save/load dbgrid options instead of grid options
git-svn-id: trunk@49071 -
2015-05-17 17:26:12 +00:00
jesus
25a535eee4 LCL, grids: SaveToFile,LoadFromFile for DbGrid, modified patch from Alberto Faenza, issue #15033
git-svn-id: trunk@49056 -
2015-05-17 02:40:31 +00:00
jesus
98a26c9a5a LCL, dbgrid: enables buttoncolumn's button click even if is not the current record, fix issue #28074
git-svn-id: trunk@49033 -
2015-05-15 18:17:07 +00:00