Commit Graph

253 Commits

Author SHA1 Message Date
maxim
b3fb47b5d3 Merged revision(s) 51045 #3d8be36eb6, 51677 #dabcac3009, 51742 #8e8380449e from trunk:
LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup".
........
lcl: using process Executable instead of CommandLine
........
LCL: Don't use PassWordChar when showing TextHint. Patch by riderkick. Issue #0029748.
........

git-svn-id: branches/fixes_1_6@51989 -
2016-03-19 13:07:32 +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
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
jesus
e80dcc0d2d LCL, dbgrid, call SelectEditor manually in DatasetScrolled in case row index do not change, based on patch by Luca Olivetti, issue #27232
git-svn-id: trunk@47911 -
2015-02-20 03:22:01 +00:00
mattias
5ca1ca2bd8 LCL: less hints
git-svn-id: trunk@47614 -
2015-02-07 09:52:51 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
jesus
a574bd5af1 LCL, dbgrid: use CompareBookmarks where available, issue #24924
git-svn-id: trunk@46797 -
2014-11-10 16:36:56 +00:00
jesus
7b02f9eb70 LCL, make sure that dbgrid is focused after editor is hidden, fix insert problem described in issue #26929
git-svn-id: trunk@46680 -
2014-10-25 23:06:16 +00:00
jesus
9d659a9b1f LCL, fix AV while doing dbgrid.selectedRows.delete (and memleak under 2.6.4), issue #26913
git-svn-id: trunk@46637 -
2014-10-22 01:05:09 +00:00
reiniero
e57be6e312 * Dbgrids comments on options
git-svn-id: trunk@46553 -
2014-10-14 08:59:40 +00:00
jesus
09a85e4fc9 LCL, dbgrid, enable OnFieldEditMask with default mask by Field.EditMask, patch by José Mejuto, issue #21362
git-svn-id: trunk@46510 -
2014-10-10 21:14:08 +00:00
jesus
344ab1efea LCL, dbgrid, fix SIGSEGV on deactivating, from Petr-K, issue #23810
git-svn-id: trunk@46444 -
2014-10-06 17:07:35 +00:00
jesus
dc348f83b7 lcl, implements dbgrid copy current field value to clipboard, alternative solution to issue #25451
git-svn-id: trunk@46418 -
2014-10-03 20:44:48 +00:00
jesus
47e3161749 LCL, fix dbgrid cells color when DefaultDrawing=false
git-svn-id: trunk@46408 -
2014-10-02 19:33:15 +00:00
jesus
27c2885608 LCL, fix dbgrid indicator and all grid's rowselect focus rect problems for bidi, patch from Babak Mahmoudabadi which Mike Thompson converted to diff format, issue #25154
git-svn-id: trunk@46377 -
2014-09-30 18:49:47 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
juha
2d68a26e97 LCL: Implement DBAction on DBControls. Issue #25988, patch from Luigi
git-svn-id: trunk@46203 -
2014-09-13 09:40:00 +00:00
jesus
88ada652ba LCL, dbgrids, debug format changes modified patch from Jack Linke, part of issue #26564
git-svn-id: trunk@46049 -
2014-08-18 05:59:36 +00:00
jesus
a3a3e0ba9a LCL, dbgrid, fix locked editor in case of exception, from Petr-K, issue #26461
git-svn-id: trunk@45816 -
2014-07-08 19:12:47 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
jesus
907159d8a2 LCL, fix DBGrid shows '(blob)' on all Blob fields, from Petr-K, issue #26061
git-svn-id: trunk@44795 -
2014-04-23 18:55:50 +00:00
maxim
1f5035d509 LCL, DbGrids: fixed compilation with FPC 2.7.1, patch from Udo Schmal and Dennis Fehr, bug #25647
git-svn-id: trunk@44011 -
2014-02-11 21:43:20 +00:00
jesus
2ed7a8a17c LCL, fix grids focus where OnEnter occurs twice, issue #25010
git-svn-id: trunk@42943 -
2013-09-26 12:20:54 +00:00
mattias
c5f9e05da6 lcl: dbgrids: fixed memleak of KeyBookmark, patch from Luca Olivetti, bug #24412
git-svn-id: trunk@42912 -
2013-09-23 10:07:45 +00:00
jesus
1e4301f4d7 LCL, use UTF8Length instead of Length on calc dbgrid column field width, from Rumen Gyurov, issue #24491
git-svn-id: trunk@41501 -
2013-06-02 21:56:12 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
jesus
fd4ed3c5b5 LCL, implemented option dgThumbTracking, removed old ThumbTracking property (only supposed to work for horizontal scrolling)
git-svn-id: trunk@40776 -
2013-04-09 22:38:08 +00:00
bart
b36ca5958c DBGrids: fix crash in PrepareCellHints when DataLink is not Active.
Patch by Petr-K. Fixes issue #0024028.

git-svn-id: trunk@40543 -
2013-03-13 14:12:57 +00:00
jesus
8618e432a9 LCL, reverted dbgrid patch to workaround qt scrolling problem, will fix qt interface instead
git-svn-id: trunk@40510 -
2013-03-08 05:43:01 +00:00
jesus
efc032e6cc LCL, workaround for qt that fix scrolling dbgrid when current record exceed current record count it sends scroll event with position=0
git-svn-id: trunk@40500 -
2013-03-06 22:21:12 +00:00
jesus
84561b710d LCL, dbgrid debug log
git-svn-id: trunk@40499 -
2013-03-06 22:11:00 +00:00
jesus
6353fdc510 LCL, made DbGrid.GetBufferCount virtual
git-svn-id: trunk@40463 -
2013-03-03 07:16:10 +00:00
jesus
a8b95e3a2f LCL, dbgrids checks for keydown while dataset is inactive, issue #23598
git-svn-id: trunk@40323 -
2013-02-15 15:08:35 +00:00
jesus
efee6e8c99 LCL, grids and dbgrids implemented RowHightlight option, from Marcus Müller, issue #18581
git-svn-id: trunk@40276 -
2013-02-12 03:35:29 +00:00
bart
c053394595 Grids: Implement TabAdvance, so Tab key can behave independant of Enter key.
Remove goTabIgnoreAutoAdvance option, since it is not needed anymore.

git-svn-id: trunk@40067 -
2013-01-30 18:01:21 +00:00
jesus
ff9e96532a LCL, do not immediately start dragging when DragMode=dmAutomatic, added helper to dbgrid to convert and make some sense of mouse coords, fix issue #23558
git-svn-id: trunk@39877 -
2013-01-17 22:06:45 +00:00
jesus
e790346803 LCL, dbgrid, added utility properties FirstColumn and LastColumn, they return the first and last visible columns
git-svn-id: trunk@39319 -
2012-11-20 10:04:39 +00:00
jesus
c02a423ee9 LCL, fix moving dbgrid selected field to the last one while using 'END' key and there are invisible columns, Problem 3) issue #19993
git-svn-id: trunk@39317 -
2012-11-20 08:55:31 +00:00
jesus
5df13d5cab LCL, dbgrid, workaround for datasets(?).filtered wrong behaviour, from Luiz Americo, issue #22304
git-svn-id: trunk@39124 -
2012-10-18 03:07:05 +00:00
jesus
83859e5919 LCL, fix dbgrid toggle checkbox (cbsCheckboxColumn column) even if column is not visible, issue #22493
git-svn-id: trunk@39123 -
2012-10-18 02:48:19 +00:00
jesus
5684485f27 LCL, grids, fix AV saving forms with grids, regression caused on r39113 #47a8c9c3a4
git-svn-id: trunk@39121 -
2012-10-18 00:17:59 +00:00
jesus
9270a6f705 LCL, dbgrid cleanup
git-svn-id: trunk@39119 -
2012-10-17 23:38:59 +00:00
jesus
ad7b61f063 LCL, dbgrid, check column exists before getting button style, from Tristan Linnell, issue #22873
git-svn-id: trunk@39118 -
2012-10-17 23:28:28 +00:00
bart
47a8c9c3a4 Increase visibility of EditMask property of TStringCellEditor.
Increase visibility of InplaceEditor in TDrawGrid, TStringGrid and TDBGrid.
Fixes issue #0023103.

git-svn-id: trunk@39113 -
2012-10-17 12:19:37 +00:00
jesus
ca8b562660 LCL, fix for dbgrid to reset MaxLength, from LacaK, issue #22789
git-svn-id: trunk@38618 -
2012-09-11 19:17:21 +00:00