Commit Graph

578 Commits

Author SHA1 Message Date
ondrej
9cd8314204 LCL: grids: fix default editor placement and cell background. Issue #29196. Modified patch by abonic1
git-svn-id: trunk@50847 -
2015-12-16 16:03:09 +00:00
mattias
850e8da6b1 LCL: TCustomGrid: fixed CacheVisibleGrid
git-svn-id: trunk@50621 -
2015-12-04 22:23:53 +00:00
bart
6328571bef Grids: Do nut move to another cell when user presses Left/Right in editor. Issue #0029084.
git-svn-id: trunk@50566 -
2015-12-02 12:34:53 +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
ondrej
b8b626d91e LCL: grids: fixed regression from r50262 #fa277e1eb3. Issue #28959
git-svn-id: trunk@50371 -
2015-11-17 17:56:11 +00:00
mattias
d51c479ac4 lcl: grids: less withs for FPC 3.1.1
git-svn-id: trunk@50282 -
2015-11-11 12:45:02 +00:00
mattias
7d29d577e1 lcl: grids: less withs for FPC 3.1.1
git-svn-id: trunk@50281 -
2015-11-11 12:43:23 +00:00
ondrej
d810d222de LCL: added DefaultWidth property to grid column. Issue #28959
git-svn-id: trunk@50267 -
2015-11-10 04:27:18 +00:00
ondrej
fa277e1eb3 LCL: added StoredWidth property to grid column; dispose FWidth if negative width is set. Issue #28959
git-svn-id: trunk@50262 -
2015-11-09 09:57:13 +00:00
mattias
12697b9fd7 lcl: less with-blocks due to FPC 3.1.1 new record methods
git-svn-id: trunk@50253 -
2015-11-08 10:30:24 +00:00
juha
8b83841913 LCL: Fix StringGrid DrawCell RTL (Bidi). Issue #28867, patch from Zaher Dirkey.
git-svn-id: trunk@50187 -
2015-10-27 22:16:21 +00:00
jesus
6e2cd84dcf LCL, grids: fix AutoAdvance=aaNone, issue #28752
git-svn-id: trunk@49897 -
2015-09-29 19:55:53 +00:00
jesus
1ab7a995da LCL, grids: fix range check error on pasting empty cells, fix by wp, issue #28747
git-svn-id: trunk@49896 -
2015-09-29 18:44:46 +00:00
jesus
40e2ef952b LCL, make ClearSelections public, from wp, issue #27437
git-svn-id: trunk@49885 -
2015-09-28 17:51:21 +00:00
jesus
3a209ed467 LCL, arguments rename and parameter SkipEmptyLines in LoadFromCSVxxx function, modified patch from wp, issue #28582
git-svn-id: trunk@49754 -
2015-09-03 23:49:43 +00:00
jesus
0ca49a5f21 LCL, fix CSV import into StringGrid omits first line, from wp, issue #28582
git-svn-id: trunk@49735 -
2015-09-01 19:20:51 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
jesus
e57d6b4ea6 LCL, stringgrid, rework calc or rowcount when loading CSV data, issue #28230
git-svn-id: trunk@49244 -
2015-06-02 21:07:50 +00:00
jesus
2d5ab7fba6 LCL, grids: Enable grid editor at IME composition in Windows. from Do-wan Kim, issue #27976
git-svn-id: trunk@49163 -
2015-05-25 05:19:39 +00:00
jesus
dc9a9728a6 LCL, grids: allow AutoAjustColumn calc max column width, check for empty cells, from Valdas Jankünas, issue #28144
git-svn-id: trunk@49120 -
2015-05-20 16:36:07 +00:00
mattias
d46605f9c2 lcl: stringgrid: on paste in non editing cell call OnValidateEntry and OnEditingDone if compiled with -dEnableGridPasteValidateEntry
git-svn-id: trunk@49092 -
2015-05-18 21:32:38 +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
6d6f3e887c LCL, grids: fix setting column caption to empty string and object inspector editing problems, issues #25116 and #27703
git-svn-id: trunk@49040 -
2015-05-16 03:28:15 +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
jesus
9bcbe8918d LCL, grids: fix auto adjust column for multilined columns
git-svn-id: trunk@49023 -
2015-05-14 20:29:08 +00:00
jesus
2b2ffb7044 LCL, grids: avoid extra calls to OnSelectEditor by only selecting the editor when needed
git-svn-id: trunk@49016 -
2015-05-14 06:57:23 +00:00
jesus
013aae61e4 LCL, grids: make sure first mousedown is processed when there were no previous mouse movement (perhaps Mac OS X only problem)
git-svn-id: trunk@48983 -
2015-05-10 18:54:19 +00:00
jesus
a95002e0bf LCL, grids, fix loading CSV data with multiline fields, issue #27443
git-svn-id: trunk@48780 -
2015-04-20 17:50:27 +00:00
jesus
c4f943a994 LCL, grids, ignore WMKillFocus on destroying, patch by Anton, issue #27376
git-svn-id: trunk@48771 -
2015-04-17 20:22:32 +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
mattias
68c00a724a LCL: TCustomGrid: disable default preferred size, because grid moves controls and change scrollbars, bug #27095
git-svn-id: trunk@47875 -
2015-02-18 00:57:13 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
bart
3cd80e36ac Grids: show Grid's PopupMenu also when Editor has focus (Issue #0027171).
git-svn-id: trunk@47258 -
2014-12-28 10:57:38 +00:00
bart
7d8ba3e55e Grids: Dont restore backed-up value of RowCount when using InsertRowWithValues on an empty grid (Issue #0026943).
git-svn-id: trunk@46787 -
2014-11-08 16:59:17 +00:00
maxim
ea3dc9c43d LCL: fixed typo in Grids
git-svn-id: trunk@46785 -
2014-11-08 01:49:29 +00:00
bart
da19531449 Grids: raise exception when trying to insert a row when there are no columns, or a columns when there are no rows.
git-svn-id: trunk@46782 -
2014-11-07 22:36:06 +00:00
bart
001b440270 LCL: use TFileStreamUtf8 for LoadFromFile/SaveToFile for Grids, TTextStrings, TWin32MemoStrings, TWinCEMemoStrings, TQtMemoStrings, TGtk2MemoStrings, TGtk3MemoStrings,
thus eliminating the need for Utf8ToSys() conversions.

git-svn-id: trunk@46777 -
2014-11-07 14:52:30 +00:00
jesus
b60d0138c4 LCL,grids: implements TDrawGrid and TStringGrid multiselection, patch from Werner Palmer, issue #27000
git-svn-id: trunk@46767 -
2014-11-06 20:53:42 +00:00
jesus
bd19001549 LCL, grids: InsertRowWithValues adjust first the number of columns then insert row, fix insert a row in a fixed grid, issue #26943
git-svn-id: trunk@46766 -
2014-11-06 19:41:05 +00:00
bart
92df6c333e Grids:
- propagate CellHint to Application.Hint, so it can be used in Application.OnHint
- fix displaying CellHint if this has a "long hint".
Fixes issue #0026957.

git-svn-id: trunk@46760 -
2014-11-05 14:26:11 +00:00
jesus
edd7ba6676 LCL, grids, Fix occasional dbgrid problem in which a new record is canceled when trying to click on a cell in the new record, issue #26916
git-svn-id: trunk@46642 -
2014-10-22 13:59:23 +00:00
jesus
9271bbf67f LCL, grids, don't scroll beyond max position, in trunk it only moves scrollbar but grid is without effect, in 1.2.6 this fixes index out of range while scrolling as reported in issue #25862
git-svn-id: trunk@46565 -
2014-10-16 04:07:00 +00:00
jesus
fa27e75356 LCL, grids, fix Mac (carbon) keyboard navigation, issue #25249
git-svn-id: trunk@46512 -
2014-10-11 07:23:01 +00:00
jesus
4b521f81a5 LCL, grids, invalidate focused cell/row on killing/gaining focus, patch by Yuichiro Takahashi, issue #25371
git-svn-id: trunk@46507 -
2014-10-10 20:33:32 +00:00
jesus
37e4f0e560 LCL, fix grid focus rect drawing when rowselect and writing something to a cell in current row, based on patch from Yuichiro Takahashi, issue #25371
git-svn-id: trunk@46501 -
2014-10-09 21:00:07 +00:00
jesus
398c5e93df LCL, grids, TXMLConfig (Laz2_XMLCfg and ultimately TFileStreamUTF8) need UTF8 encoded filename
git-svn-id: trunk@46433 -
2014-10-04 21:27:26 +00:00
bart
fcd142ecd2 Grids: Fix AutoAddRow when deleting the last row (issue #0026189) patch by Mike Thompson.
git-svn-id: trunk@46414 -
2014-10-03 16:12:51 +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
jesus
53a0681e2a LCL, check for col/row index (fixes ocassional Index out of range exception)
git-svn-id: trunk@46353 -
2014-09-29 20:33:29 +00:00