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
paul
a2af79db7b
lcl: move grid images from Lazarus to FPC resources
...
git-svn-id: trunk@42969 -
2013-09-27 06:31:54 +00:00
jesus
74824cdc4e
LCL, fix ValueListEdit not showing key column at runtime, issue #24780
...
git-svn-id: trunk@42958 -
2013-09-27 02:56:24 +00:00
jesus
c1f577aa5a
LCL, grids, modify editor bounds in case it's affected by modifying default Col width or Row height
...
git-svn-id: trunk@42954 -
2013-09-26 23:38:00 +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
jesus
c33a15d30d
LCL, grids, handle the first key in keypress, fixes issue #24893
...
git-svn-id: trunk@42936 -
2013-09-25 18:53:53 +00:00
jesus
3e9f8d11d5
LCL, grids, added ActiveControl property to TCompositeCellEditor
...
git-svn-id: trunk@42198 -
2013-07-24 20:42:19 +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
342ff362a4
LCL, DBGrid, linux, set edit state on primary clipboard paste, issue #24310
...
git-svn-id: trunk@41067 -
2013-05-08 04:55:20 +00:00
mattias
489eb1d8f4
lcl: grids: added const for default options
...
git-svn-id: trunk@40959 -
2013-04-30 16:36:31 +00:00
jesus
6e08b82839
LCL, grids, handle ENTER key on KeyPress instead of on KeyDown to give a change user get it in OnKeyPress, issue #24284
...
git-svn-id: trunk@40834 -
2013-04-18 07:16:15 +00:00
jesus
2ef3cf5a5c
LCL, fix grids not hiding editor in TValueListEditor, issue #24273
...
git-svn-id: trunk@40831 -
2013-04-17 00:45:31 +00:00
jesus
9d12401342
LCL, grids, fix grid losing focus issue #24245
...
git-svn-id: trunk@40785 -
2013-04-10 17:24:34 +00:00
jesus
d6a1f48258
LCL, grids, fix editor not focused if it's visible and grid is being focused, from Éderson Cássio, issue #24194
...
git-svn-id: trunk@40780 -
2013-04-10 06:16:28 +00:00
bart
5d55b90f96
Grids: Remove unneccesary TCompositeCellEditor.GetActiveEditor (introduced in r40375 #d2b9d862ef),
...
make GetActiveControl protected instead.
git-svn-id: trunk@40415 -
2013-02-26 16:32:57 +00:00
bart
d2b9d862ef
ValEdit: implement TItemProp.ReadOnly.
...
For this we need access to private field FEditors of TCompositeCellEditor.
git-svn-id: trunk@40375 -
2013-02-23 16:35:34 +00:00
jesus
c8f3aa7628
LCL, updated debug info for grids
...
git-svn-id: trunk@40357 -
2013-02-20 09:22:54 +00:00
jesus
3d1bfbe763
LCL, save grid color when doing SaveToFile
...
git-svn-id: trunk@40316 -
2013-02-14 15:11:17 +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
juha
248c598499
LCL: check also for csDestroying component state in Grid when setting edit test.
...
git-svn-id: trunk@40198 -
2013-02-06 15:59:10 +00:00
bart
def9237ba7
Grids: rename goIgnoreRowContentForAutoAddRows option to goAutoAddRowsSkipContentCheck
...
(as discussed on lazarus-devel mailinglist).
git-svn-id: trunk@40068 -
2013-01-30 18:10: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
bart
84b225d357
Grids: better fix for issue #0023735 .
...
Set FRowAutoInserted to false in TCustomGrid.EditorShowChar (unless the editor popped up due
to the user pressing backspace).
git-svn-id: trunk@39955 -
2013-01-24 18:54:21 +00:00
bart
370b7af254
Grids: perform extra check before removing AutoAdded row, and always clear the FRowAutoAdded flag in this scenario.
...
Quick fix for issue #0023735 .
The root cause of the problem here is that TCustomGrid.EditorKeyDown isn't called on the first char the user types if
goAlwaysSwowEditor is not in Options.
git-svn-id: trunk@39954 -
2013-01-24 17:33:29 +00:00
bart
617fb0cf9e
Grids: implement goIgnoreRowContentForAutoAddRows option.
...
If set then AutoAddRows will add a row even if last row is empty.
The then added row will not be removed if it is empty when user moves the cursor up.
git-svn-id: trunk@39940 -
2013-01-23 15:26:45 +00:00
bart
93a98f4972
Grids: implement goTabIgnoreAutoAdvance option.
...
If set (and goTabs in Options), then Tab key traverses grid like in aaRightDown mode,
much like tables in common wordprocessors.
git-svn-id: trunk@39938 -
2013-01-23 14:26:28 +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
459cdc0ca9
LCL, only adjust editor position if colcount/rowcount change will affect editor, issue #23652
...
git-svn-id: trunk@39868 -
2013-01-17 02:09:04 +00:00
jesus
32ed7b46e7
LCL, fix AV when grid is being destroyed and editor has focus, part of issue #23478
...
git-svn-id: trunk@39867 -
2013-01-16 23:51:25 +00:00
bart
5a5af581e2
Grids: make option goAutoAddRows also work with Tab key.
...
Also don't loose the state of FRowAutoInserted in KeyDown() when user presses Crl,Alt,Shift or Meta key
(otherwise "undoing" an auto-added row doesn't work anymore)
git-svn-id: trunk@39864 -
2013-01-16 14:51:29 +00:00
jesus
7e9dbdf832
LCL, fixed issue #23478 in another way
...
git-svn-id: trunk@39545 -
2012-12-15 01:33:37 +00:00
juha
424b7d0c93
LCL: Free part of CustomGrid's variables after inherited Destroy; Allows freeing a focused grid (works for other controls already). Issue #23478 , Patch from mmxngg
...
git-svn-id: trunk@39544 -
2012-12-15 00:12:06 +00:00
jesus
0d8b603ec0
LCL, fix gtk grid's autofillcolumns problem when sometimes client size changes are not correctly detected, problem 1) issue #19993
...
git-svn-id: trunk@39316 -
2012-11-20 08:17:01 +00:00
jesus
20b874b8f0
LCL, publish OnGetCheckboxState and OnSetCheckboxState for drawgrid
...
git-svn-id: trunk@39142 -
2012-10-20 00:03:37 +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
2c9cbd6b0e
LCL, stringgrid, allow to export to CSV only visible columns, from Alexsander Rosa
...
git-svn-id: trunk@39114 -
2012-10-17 14:28:27 +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
9e16841b73
LCL, fix unexpected selection, patch from Bart Broersma, issue #18344
...
git-svn-id: trunk@39011 -
2012-10-09 06:52:08 +00:00
bart
92ed0bbeed
grids.pas: changed page-scrolling to use the same algorithm (how far to scroll) as scrolling using keys, taking care of fixedcols and fixedrows. Resolves issue #17882 .
...
git-svn-id: trunk@37897 -
2012-07-08 10:46:51 +00:00
bart
d78838b4b1
TCustomStringGrid.LoadFromCSVStream: fix parsing of strings with leading or trailing
...
whitespace.
As per RFC4180 this whitespace must be part of the field, even if the field is not quoted.
git-svn-id: trunk@37598 -
2012-06-09 17:26:12 +00:00
jesus
3d09ebb4ca
LCL, grids, remove dead code
...
git-svn-id: trunk@37584 -
2012-06-08 06:48:29 +00:00
bart
dc5a2714d9
TCustomGrid.LoadfromCsvStream: add comment about cleaning this up once TStrings.SetDelimitedText is fixed in (stable) fpc
...
git-svn-id: trunk@37574 -
2012-06-07 18:31:55 +00:00
juha
c25ec11dc4
LCL: cleanup and formatting, removed a left-over for loop
...
git-svn-id: trunk@37503 -
2012-06-03 17:50:53 +00:00
bart
0af1e98ba7
TCustomStringGrid.LoadFromCSVStream: implement custom parsing of strings,
...
since using DelimitedText with either setting of StricDelimiter has it's drawbacks.
New implementation allows spaces in fields, even if field is unquoted.
It also correctly handles quoted fields that have Delimiter as part of the text.
git-svn-id: trunk@37499 -
2012-06-03 12:24:09 +00:00
juha
780bcdc31b
LCL: Implement SaveToStream and LoadFromStream for TCustomGrid. Issue #22139
...
git-svn-id: trunk@37496 -
2012-06-03 09:36:50 +00:00
juha
58ea455548
LCL: for TStringGrid, replace FPC's TXMLConfig with LazUtils' TXMLConfig. Makes further streaming support easier.
...
git-svn-id: trunk@37437 -
2012-05-27 19:54:16 +00:00
juha
6d009e924d
LCL: Implement LoadFromCSVFile and SaveToCSVStream for TCustomStringGrid. Related to issue #22139
...
git-svn-id: trunk@37436 -
2012-05-27 17:19:36 +00:00
bart
0d005db507
Select cell when it's content is deleted by VK_Delete
...
git-svn-id: trunk@37399 -
2012-05-22 22:39:20 +00:00
juha
3d6659f2e4
LCL: Revert the hack in TCustomGrid.KeyDown trying to fix issue #22057 . Helps debugging the real problem.
...
git-svn-id: trunk@37385 -
2012-05-21 19:08:42 +00:00
bart
692d98a01c
TCustomStringGrid.LoadfromCSVFile: use StrictDelimiter. Fixes issue #22054
...
git-svn-id: trunk@37318 -
2012-05-18 16:29:50 +00:00
juha
98e6ec0f7e
LCL: filter out F-keys without shift state only, issue #22057
...
git-svn-id: trunk@37317 -
2012-05-18 15:41:47 +00:00
juha
734def7277
LCL: formatting in TCustomGrid code
...
git-svn-id: trunk@37313 -
2012-05-17 21:25:48 +00:00
juha
43b55bf526
LCL: Prevent also Insert and PrintScreen keys from entering '?' to a cell
...
git-svn-id: trunk@37309 -
2012-05-17 19:03:08 +00:00
juha
0f4d82b045
LCL: prevent some special keys from entering '?' to a cell, issue #22056
...
git-svn-id: trunk@37305 -
2012-05-17 14:40:52 +00:00
juha
35c2e0fcca
LCL: Cleanup in TCustomGrid.KeyDown
...
git-svn-id: trunk@37303 -
2012-05-17 07:35:21 +00:00
juha
bf1459a3d8
LCL: Make DELETE key clear the whole cell in StringGrid when cell editor is not active, issue #22056
...
git-svn-id: trunk@37302 -
2012-05-17 07:35:15 +00:00
juha
32b63791ee
LCL: remove code with zero effect in CustomGrid.EditorKeyDown
...
git-svn-id: trunk@37301 -
2012-05-17 07:35:10 +00:00
juha
150b6e1fdb
LCL: fix a typo
...
git-svn-id: trunk@37300 -
2012-05-17 07:35:03 +00:00
jesus
6c345d576c
LCL, grids, fix sortcolumn after move column operation, issue #21987
...
git-svn-id: trunk@37296 -
2012-05-16 20:54:59 +00:00
juha
ffa0f2e2dd
LCL: Fix range check error in StringGrid when sorting and RowCount=FixedRows, issue #21947
...
git-svn-id: trunk@37167 -
2012-05-05 23:38:50 +00:00
jesus
375e4c74b8
LCL, fixed Problems setting Width, Height for TCustomGrid if ScrollBars is auto, from cobines, issue #21790
...
git-svn-id: trunk@36993 -
2012-04-24 05:13:42 +00:00
jesus
cd63f40bc8
LCL, fix TValueListEditor streaming problems, issue #21480
...
git-svn-id: trunk@36064 -
2012-03-16 06:44:58 +00:00
jesus
46a46e49eb
LCL, fix lookup fields should not be editable, issue #13174
...
git-svn-id: trunk@36063 -
2012-03-16 06:05:27 +00:00
zeljko
3956876f16
LCL: grids cleanup
...
git-svn-id: trunk@35215 -
2012-02-07 11:36:12 +00:00
jesus
6f5bccc376
LCL, implements MaxLength in grid's TCompositeCellEditor, fix issue #20951
...
git-svn-id: trunk@34567 -
2012-01-03 20:41:42 +00:00
jesus
f87c768ab5
LCL, implements EndEllipsis text style (windows) and use it for showing ... in grid cells, also implements cell hints in dbgrid, from wp, issue #20777
...
git-svn-id: trunk@34018 -
2011-12-07 06:03:34 +00:00
jesus
e575799076
LCL, set column title prefix option default to poNone
...
git-svn-id: trunk@33979 -
2011-12-05 18:30:29 +00:00
jesus
a12d873948
LCL, hints for cells in grids, from wp, issue #20777
...
git-svn-id: trunk@33878 -
2011-12-01 01:58:50 +00:00
jesus
82e093ff6d
LCL, fix inserting columns in grid with custom columns, issue #19087
...
git-svn-id: trunk@33453 -
2011-11-10 07:07:29 +00:00
jesus
12c475e8ed
LCL, fix selection after changing fixed cols/rows, issue #20607
...
git-svn-id: trunk@33313 -
2011-11-04 21:22:04 +00:00
paul
b8c286a25d
lcl: reduce amount of warnings, fix use of UTF8Decode and use of UTF8String type
...
git-svn-id: trunk@33250 -
2011-11-03 06:58:10 +00:00
jesus
3d6a54a8d8
LCL, deactive selection even if OnMouseWheelUp/Down 'handled' the event, issue #20494
...
git-svn-id: trunk@33125 -
2011-10-28 06:32:12 +00:00
jesus
5e525c79c3
LCL, dbgrid, implements moving selection on right click for delphi compatibility using a new option dgAnyButtonCanSelect, issue #18115
...
git-svn-id: trunk@33120 -
2011-10-27 20:33:59 +00:00
jesus
6665e00e6c
LCL, reverts r33070 #4e9eda7a16: added option to move selection with right click, issue #18115
...
git-svn-id: trunk@33118 -
2011-10-27 20:02:13 +00:00
juha
193d7f84ac
LCL: Fix a crash when deleting a row in string grid. Issue #20549 , patch from bald zhang
...
git-svn-id: trunk@33074 -
2011-10-24 21:38:55 +00:00
zeljko
4e9eda7a16
LCL: Grids: added dgCanSelectAnyButton to grid options so we can select row with right mouse click, now we are Delphi compatibile.Patch by Zoran Vucenovic. Issue #18115
...
git-svn-id: trunk@33070 -
2011-10-24 16:54:11 +00:00
jesus
0abf333b88
LCL, a grid may not be invalidated correctly on col/row resize
...
git-svn-id: trunk@33058 -
2011-10-23 21:20:18 +00:00
jesus
5d8d41f146
LCL, grids, disable selection on mousewheel, issue #20494
...
git-svn-id: trunk@32947 -
2011-10-17 15:14:38 +00:00
blikblum
4ff03734cb
lcl: code cleanup - remove local procedure in TCustomDrawGrid.DefaultDrawCell
...
git-svn-id: trunk@32926 -
2011-10-16 20:09:49 +00:00
jesus
db602a1717
LCL, fix grid cell coords when not using goSmoothScroll, issue #20561
...
git-svn-id: trunk@32873 -
2011-10-13 19:48:28 +00:00
jesus
6aa2dad49f
LCL, check range and readonly columns on pasting data into grid, from Tomasz Wieckowski, issue #18213
...
git-svn-id: trunk@32504 -
2011-09-24 18:21:59 +00:00
zeljko
7ec6ba14cf
LCL: TStringGrid use UTF8CompareText() instead of AnsiCompareText(). fixes #20334
...
git-svn-id: trunk@32490 -
2011-09-24 06:35:10 +00:00
jesus
47c3378937
LCL, make GetDefaultEditor virtual
...
git-svn-id: trunk@32452 -
2011-09-21 16:59:54 +00:00
jesus
7af08b9b8b
LCL, grids, do not AutoSize TStringCellEditor by default
...
git-svn-id: trunk@32242 -
2011-09-09 20:17:25 +00:00
jesus
030bda5204
LCL, fix grid row moving indicator when new position is the same as the old one, issue #20084
...
git-svn-id: trunk@32241 -
2011-09-09 20:01:00 +00:00
jesus
3a422036a4
LCL, grids, made TStringCellEditor OnEditingDone public
...
git-svn-id: trunk@32235 -
2011-09-08 17:10:09 +00:00
jesus
2033ebd8ed
LCL, grids, made TPicklistCellEditor OnEditingDone public
...
git-svn-id: trunk@32234 -
2011-09-08 17:00:09 +00:00
jesus
e7d5a88de6
LCL, implemented stringgrid SaveToCSVFile and LoadFromCSVFile
...
git-svn-id: trunk@32179 -
2011-09-05 00:52:00 +00:00
jesus
32102f58e7
LCL, grids: added option to not scroll in a selected partially visible cell, issue #18251
...
git-svn-id: trunk@32138 -
2011-08-31 22:51:14 +00:00
jesus
7ee3c9d29b
LCL, grids, check upper bound on adding string on cols/rows
...
git-svn-id: trunk@32037 -
2011-08-23 00:04:46 +00:00
jesus
8a68614069
LCL, fix for StringGrid.Row.DelimitedText := s ignores empty string parts, issue #19995
...
git-svn-id: trunk@32036 -
2011-08-23 00:02:52 +00:00
jesus
e5cca87f42
LCL, grids bidi fixes: scrollbars
...
git-svn-id: trunk@31818 -
2011-07-28 19:42:51 +00:00
jesus
7e8b3df07f
LCL, fix dbgrid cellclick, issue #19818
...
git-svn-id: trunk@31812 -
2011-07-27 18:22:10 +00:00
juha
cb020b6683
LCL: Fix "Index out of bounds" errors in StringGrid. Modified from patch from Tomasz Wieckowski, issue #19765
...
git-svn-id: trunk@31746 -
2011-07-19 08:20:51 +00:00
jesus
a959b2c6da
LCL, fix MaxTopLeft calc
...
git-svn-id: trunk@31744 -
2011-07-19 01:45:17 +00:00
jesus
7982496a15
LCL, fix scrollbar range when goSmoothScroll is not specified, missing from last patch
...
git-svn-id: trunk@31743 -
2011-07-18 23:43:16 +00:00
jesus
8d37fd51f5
LCL, grids scrolling improved behaviour when dragging scrollbar's thumbs
...
git-svn-id: trunk@31716 -
2011-07-16 19:10:43 +00:00
zeljko
fd126a05a7
Qt: fixed bug with BeginUpdate EndUpdate pair in SetScrollInfo,also send action when slider is released.issue #19687
...
LCL: Grids: fixed wrong calculation of bottom/right (max pos) of scrollbars in SB_BOTTOM (diff is always 1 on all ws).
git-svn-id: trunk@31587 -
2011-07-07 12:52:00 +00:00
jesus
60702c64ee
LCL, grids bidi fixes: unable to show editor in some locations
...
git-svn-id: trunk@31548 -
2011-07-04 06:17:25 +00:00
jesus
a3238d132e
LCL, grids bidi fixes: better cell bounds to fix grid lines trash
...
git-svn-id: trunk@31547 -
2011-07-04 05:40:46 +00:00
jesus
714becaee7
LCL, implemented grid option goFixedColSizing
...
git-svn-id: trunk@31521 -
2011-07-03 03:18:21 +00:00