Commit Graph

546 Commits

Author SHA1 Message Date
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
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
jesus
187a700a04 LCL, grids, check for column index growing too big. Which may cause exception on trying to get invalid column width
git-svn-id: trunk@46237 -
2014-09-14 22:34:14 +00:00
jesus
380a2eecbc LCL, grids: check editor unlock count, fix issue #26191
git-svn-id: trunk@46157 -
2014-09-08 05:28:02 +00:00
jesus
9da887b714 lcl, grids, make sure that when changing from std grid to custom columns grid all sizes are recalculated, fix crash reported in issue #26232
git-svn-id: trunk@46148 -
2014-09-06 22:40:31 +00:00
jesus
34f8e3fb46 LCL, grids, fix grid scroll after resizing, issue #26315
git-svn-id: trunk@45548 -
2014-06-16 06:25:00 +00:00
jesus
718f990a55 LCL, published TDrawGrid constraints property
git-svn-id: trunk@45372 -
2014-06-06 06:50:30 +00:00
jesus
f303a96881 LCL, grids, fix Title.Caption is not changed if new value is one char and current caption value starts with the same char, seems FCaption^ is not anymore treated as a string but as a char)
git-svn-id: trunk@45343 -
2014-06-04 22:50:38 +00:00
jesus
c3d5df753b LCL, grids: pass the pressed key to the editor only if it came from the grid, this should prevent entering in a loop frezzing the program if the key was typed in the editor
git-svn-id: trunk@45276 -
2014-06-01 01:46:15 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
jesus
8f9bb36dca LCL, grids, fix range check error on some GTK2 (fix also editor appearing regression introduced in r44870)
git-svn-id: trunk@45117 -
2014-05-20 17:56:31 +00:00
jesus
ea3f43d3c8 LCL, grids, fix exception on resizing the last column when AllowOutboundEvents=false, modified patch from vbxier, issue #26138
git-svn-id: trunk@45017 -
2014-05-12 07:24:01 +00:00
jesus
7da0b079e6 LCL, grids, set Title's multiline property to false by default (this prevents unnecessary listing in the lfm file)
git-svn-id: trunk@44894 -
2014-05-02 21:14:57 +00:00
mattias
5f56400fe5 LCL: TCustomGrid: fixed range check error when scrolling editor control
git-svn-id: trunk@44869 -
2014-05-01 14:01:18 +00:00
jesus
401f148e85 LCL, fix cell hot-tracking regression
git-svn-id: trunk@44803 -
2014-04-24 00:49:46 +00:00
jesus
fcb975e5e9 LCL, implemented multiline TGridColumnTitle property, from wp, issue #25902
git-svn-id: trunk@44781 -
2014-04-22 00:32:27 +00:00
jesus
c832474b16 Grids, redraw grid on changing TitleFont where there are no Custom Columns, issue #25878
git-svn-id: trunk@44775 -
2014-04-21 15:38:44 +00:00
jesus
564b4228a3 LCL, grids, fix cbsEllipsis editor not allowing focus change, issue #25824
git-svn-id: trunk@44415 -
2014-03-13 00:48:43 +00:00
jesus
bf25a41cc8 LCL, activate selection if selection is set while goSelectionActive option is specified, patch with changes from wp, issue #25835
git-svn-id: trunk@44389 -
2014-03-09 22:16:05 +00:00
jesus
adce7de88a LCL, grids, fix flag that prevents cancel control execution on pressing ESCAPE, issue #25674
git-svn-id: trunk@44376 -
2014-03-08 05:41:12 +00:00
jesus
3c10b21816 LCL, grids made a SortColumn property public to access FSortColumn field, issue #25763
git-svn-id: trunk@44375 -
2014-03-08 04:45:04 +00:00
jesus
4370699019 LCL, fix column resizing problem when column width is bigger than grid width, from Petr-K, issue #25832
git-svn-id: trunk@44372 -
2014-03-07 20:27:59 +00:00
jesus
3caabb7cf3 LCL, fix stringgrid autoedit on pressing RETURN key, issue #25810
git-svn-id: trunk@44361 -
2014-03-06 04:35:07 +00:00
jesus
67012e954c LCL, grids, check for changes in ClientRect, issue #24724, #25489
git-svn-id: trunk@44231 -
2014-02-25 06:44:42 +00:00
bart
05e6ad8dab Grids: correct shorctut keys for Copy/Paste/Cut.
Resolves issue #0025708.

git-svn-id: trunk@44056 -
2014-02-13 18:15:26 +00:00
mattias
a508278c43 lcl: grid: initialize var
git-svn-id: trunk@43054 -
2013-10-02 08:01:44 +00:00
jesus
3327a9d348 LCL, grids, reformat some code that SHIFT+CTRL+C keeps reminding is different
git-svn-id: trunk@43052 -
2013-10-01 21:05:27 +00:00
jesus
b44b6771dd LCL, grids, do not trigger CellButton click if MouseDown is OutBounds, mdified patch from malcome, issue #25127
git-svn-id: trunk@43051 -
2013-10-01 20:55:23 +00:00
jesus
34f400b8f1 LCL, grids, implemented InsertRowWithValues from Everton Vieira, issue #21176
git-svn-id: trunk@42993 -
2013-09-27 19:03:32 +00:00
jesus
60927657c9 LCL, grids, allow the RETURN key to go to OnKeyPress
git-svn-id: trunk@42992 -
2013-09-27 18:28:28 +00:00
jesus
6ab0ade4ee LCL, grids, check for valid editor
git-svn-id: trunk@42991 -
2013-09-27 18:00:39 +00:00
jesus
4a666839dd LCL, grids, fixed selection by mouse if editor is visible and focused (also undoes de previous premature commit)
git-svn-id: trunk@42986 -
2013-09-27 13:29:32 +00:00
jesus
c9715d9f6b LCL, grids, fix check for focused
git-svn-id: trunk@42985 -
2013-09-27 12:59:45 +00:00