ondrej
92cf9781fa
lcl: grids: make GetDefaultRowHeight and *ColWidth public. Issue #31762 and #31715
...
git-svn-id: trunk@54844 -
2017-05-09 07:30:18 +00:00
ondrej
5fc40612bc
lcl: grids: scroll to highest possible value if col/row are out of valid bounds. Related to issue #31766
...
git-svn-id: trunk@54841 -
2017-05-08 21:24:20 +00:00
ondrej
553d56948a
lcl: grids: fix scrolling after r54816 #43e271b439, issue #31715
...
git-svn-id: trunk@54840 -
2017-05-08 21:13:19 +00:00
ondrej
76e4dccfaa
lcl: grids: ignore WMSIZE when updating scrollbars. Solves part of issue #31715
...
git-svn-id: trunk@54817 -
2017-05-05 22:49:59 +00:00
ondrej
43e271b439
lcl: grids: Hi-DPI: row heights and column width. New default (system) value is -1. Solves part of issue #31715
...
git-svn-id: trunk@54816 -
2017-05-05 22:38:49 +00:00
ondrej
e3f7770451
lcl: grids: disable VisualChange and UpdateSizes if AutoSize is disabled. Solves part of issue #31715
...
git-svn-id: trunk@54812 -
2017-05-05 19:59:42 +00:00
jesus
ff2d2b0a3a
LCL: fix size of TCustomGrid ButtonStyle cbsButtonColumn, Michl patch, issue #0027213
...
git-svn-id: trunk@54784 -
2017-04-30 19:24:19 +00:00
wp
093242498d
LCL: Activate ImageIndexPropertyEditor for grids (Columns[].Title.ImageIndex, ImageIndexSortAsc/Desc)
...
git-svn-id: trunk@54762 -
2017-04-27 22:47:29 +00:00
wp
6ddfc9b60c
LCL Grids: Rename new sort image indexes to ImageIndexSortAsc and ImageIndexSortDesc
...
git-svn-id: trunk@54759 -
2017-04-27 19:38:48 +00:00
wp
f1771e6b02
LCL: Grids: Add properties AscImageIndex and DescImageIndex
...
git-svn-id: trunk@54755 -
2017-04-27 11:15:51 +00:00
ondrej
1223f3b20a
lcl: grids: don't invalidate grid when changing bounds if not necessary. Issue #31518
...
git-svn-id: trunk@54733 -
2017-04-25 10:34:28 +00:00
ondrej
910b0b45e8
lcl: grids: fix endless loop "paint->update scrollbars->paint". Issue #31518
...
git-svn-id: trunk@54732 -
2017-04-25 10:32:49 +00:00
jesus
95312d4835
LCL: Fix grid's LoadFromCSVStream when there are CustomColumns and fixedCols, issue #31293
...
git-svn-id: trunk@54621 -
2017-04-16 06:14:44 +00:00
ondrej
cdcf32e873
lcl: grids: fix ScrollToCell BidiMode + fix smooth scroll if both X and Y have to be scrolled. Issue #31552
...
git-svn-id: trunk@54499 -
2017-03-29 08:36:41 +00:00
ondrej
08c52fc1e0
LCL: Grids: fix RTL scrolling. Issue #31552
...
git-svn-id: trunk@54485 -
2017-03-26 17:29:21 +00:00
ondrej
bc9ea113b6
lcl: grid: fix repainting issues when changing bounds on Gtk2. Issue #31518
...
git-svn-id: trunk@54381 -
2017-03-10 12:52:32 +00:00
ondrej
3cbd802990
LCL: grids: add smooth scrolling when resizing. Sub-Issue #31475
...
git-svn-id: trunk@54380 -
2017-03-10 11:25:18 +00:00
ondrej
b1b01dd4c3
LCL: grids: remove wrong DoOnChangeBounds. Solves issue #21918
...
git-svn-id: trunk@54379 -
2017-03-10 11:23:01 +00:00
ondrej
685ada05b3
LCL: grids: MaxTopLeft may not be smaller than the Fixed area. Issue #31475
...
git-svn-id: trunk@54378 -
2017-03-09 07:54:58 +00:00
ondrej
592b495a47
LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
...
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83
LCL: HighDPI: fix font scaling. Issue #31276
...
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
wp
ce7b128603
lcl: Fix grid's ButtonStringEditor ignoring cell text alignment (issue #0031402 ).
...
git-svn-id: trunk@54172 -
2017-02-16 20:44:10 +00:00
jesus
6a6c4c33d5
LCL, grids: fix Clipping Region Error in TCustomGrd Descendents, patch from Tony Whyman, issue #30892
...
git-svn-id: trunk@54084 -
2017-02-03 18:53:45 +00:00
jesus
14145bdd4a
LCL, grids: do not quote copied cell when the text contain a quote,issue #30623
...
git-svn-id: trunk@54001 -
2017-01-25 15:14:20 +00:00
jesus
90a4a40c23
LCL, Grids: fix focus rect painting issue #31268
...
git-svn-id: trunk@54000 -
2017-01-25 14:57:04 +00:00
jesus
14660d80cd
LCL, grids: fix OnHeaderSized not called on DblClicked AutoSized column, patch from Janusz Tomczak, issue #31226
...
git-svn-id: trunk@53998 -
2017-01-24 21:53:16 +00:00
jesus
7723412ce7
LCL, fix autoadjust column width for columns with images
...
git-svn-id: trunk@53997 -
2017-01-24 21:45:04 +00:00
ondrej
ae58211303
grids: always scale FDefColWidth and FDefRowHeight (without chicking IsDefRowHeightStored).
...
git-svn-id: trunk@53992 -
2017-01-24 12:07:30 +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
mattias
de4b901bdd
lcl: fixed typo and formatting
...
git-svn-id: trunk@53967 -
2017-01-18 11:36:17 +00:00
juha
39edd3b2b6
LCL: Add more title attributes in TCustomGrid.LoadColumns and SaveColumns. Issue #31173 , patch from Andrey Korol.
...
git-svn-id: trunk@53848 -
2017-01-03 00:10:48 +00:00
juha
73aa9aa4bb
Order uses sections again to see dependencies better.
...
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +00:00
ondrej
e7b8a7cf27
lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
...
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
ec3be77f3d
lcl: grids: highDPI: fix DefaultRowHeight scaling
...
git-svn-id: trunk@53582 -
2016-12-06 19:48:23 +00:00
ondrej
6b37ddd73e
lcl: grids: fix after r53574 #0296fdc7ae
...
git-svn-id: trunk@53575 -
2016-12-06 14:48:22 +00:00
ondrej
0296fdc7ae
lcl: implement DoAutoAdjustLayout for these controls: TCustomListView, TCustomGrid, TCustomListBox. Issue #14688 , patch by regs
...
git-svn-id: trunk@53574 -
2016-12-06 14:28:37 +00:00
ondrej
a86cf7678d
LCL: grids: fix WMHScroll handling.
...
git-svn-id: trunk@53476 -
2016-11-29 11:07:57 +00:00
ondrej
1b4e67aa7c
LCL: grids: fix UpdateCachedSizes bug that moved selected cell outside the visible area for non-standard cell sizes. Issue #30678
...
git-svn-id: trunk@53262 -
2016-10-29 14:35:04 +00:00
jesus
cfd4d8626c
LCL: fix TStringGrid copying a single empty cell to clipboard, issue #30607
...
git-svn-id: trunk@52995 -
2016-09-19 17:01:26 +00:00
jesus
dff5e86d21
LCL, Grids: fix copying cells on first row when there are custom columns and FixedRows=0, patch from K155LA3, issue #0030608
...
git-svn-id: trunk@52983 -
2016-09-16 23:39:48 +00:00
jesus
c3d5c5e203
LCL, StringGrid: Fix paste of multilined text, implements custom processing of copied/pasted text using the new OnCellProcess event
...
git-svn-id: trunk@52976 -
2016-09-15 20:29:15 +00:00
bart
b1262a951e
Grids: fix wrong result of TCustomGrid.GetEditorBorderStyle when FEditor = FPickListEditor. Issue #0028782 .
...
git-svn-id: trunk@52912 -
2016-09-04 12:51:11 +00:00
jesus
ca41291b52
Grids, fix pasting selection where last cells or each row are empty, issue #30454
...
git-svn-id: trunk@52904 -
2016-09-01 17:37:43 +00:00
ondrej
f2755c401f
LCL: grids: don't reset offset when start col/row dragging
...
git-svn-id: trunk@52819 -
2016-08-17 16:44:55 +00:00
jesus
12693f48c3
LCL, grids: Stop processing the key VK_ESCAPE in the editor if the user has already handled the event, issue #30044
...
git-svn-id: trunk@52749 -
2016-07-25 18:49:56 +00:00
jesus
0653cf52ef
LCL,Grids: Restore old value when pressing ESCAPE, from Andrey Korol, issue #30044
...
git-svn-id: trunk@52707 -
2016-07-17 22:14:06 +00:00
jesus
0a5992a38f
LCL, grids: Fix long hints, patch from wp, issue #28816
...
git-svn-id: trunk@52705 -
2016-07-17 19:20:30 +00:00
jesus
8f4aefa2f6
LCL, grids: Implements grid.ColRow property, resolves issue #30364
...
git-svn-id: trunk@52668 -
2016-07-12 00:45:29 +00:00
jesus
dac8469d9c
LCl,grids: fix ignoring first EditorMode:=true, issue #30337
...
git-svn-id: trunk@52616 -
2016-07-04 03:24:14 +00:00
jesus
8b9f0e9b49
LCL, Grids: Implemented AfterMoveSelection, resolves issue #23173
...
git-svn-id: trunk@52615 -
2016-07-03 22:04:42 +00:00
jesus
67a56eb60a
LCl,Grids: Implements FixedGridLineColor for using with flat grid, modified patch by Malcome, issue #30332
...
git-svn-id: trunk@52602 -
2016-07-02 19:25:07 +00:00
jesus
86383be1c4
LCL, grids: fix ignoring first "Delete" key press, issue #30335
...
git-svn-id: trunk@52601 -
2016-07-02 18:02:30 +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
220c413059
LCL, grids: removed debug line
...
git-svn-id: trunk@52577 -
2016-06-23 20:38:12 +00:00
mattias
36b72c350c
lcl: less debugging
...
git-svn-id: trunk@52559 -
2016-06-22 14:35:21 +00:00
mattias
03e749be43
lcl: gtk2: GTKAPIWidget_FocusIn: check if client widget can be focused
...
git-svn-id: trunk@52558 -
2016-06-22 14:34:20 +00:00
ondrej
6eb42f280e
lcl: grids: check top left after size change - also for negative values. Issue #30211
...
git-svn-id: trunk@52497 -
2016-06-12 20:26:01 +00:00
ondrej
46c8b6c3f3
lcl: grids: check top left after size change. Issue #30211
...
git-svn-id: trunk@52493 -
2016-06-12 17:41:48 +00:00
ondrej
baee210e40
lcl: TGridColumn: change Tag type from Integer to PtrInt. Issue #30209 , patch by Zoran Vučenović
...
git-svn-id: trunk@52414 -
2016-05-30 21:11:43 +00:00
ondrej
8999b027ad
lcl: grids: fix ranges in GetPxTopLeft. Issue #30184
...
git-svn-id: trunk@52390 -
2016-05-25 14:41:40 +00:00
ondrej
ebb86e4569
lcl: grids: fix GetPxTopLeft if there are no normal rows/columns in the grid. Issue #30184
...
git-svn-id: trunk@52388 -
2016-05-25 04:23:37 +00:00
ondrej
40631ca1a5
lcl: grids: fix scroll area for flat grid. Issue #30173
...
git-svn-id: trunk@52368 -
2016-05-23 16:38:31 +00:00
ondrej
58277d75f2
lcl: grids: don't add line break if only one cell is selected. Change #13#10 to sLineBreak
...
git-svn-id: trunk@52352 -
2016-05-23 06:13:04 +00:00
ondrej
0b9e2259d5
lcl: grids: fix scrollbar visibility and MaxTLOffset.
...
git-svn-id: trunk@52351 -
2016-05-23 05:39:30 +00:00
ondrej
e7c61fbccf
lcl: grids: allow smooth scrolling for vertical and horizontal scrollbars independently.
...
git-svn-id: trunk@52349 -
2016-05-23 05:03:54 +00:00
ondrej
5b82107429
LCL: grids: fix endless paint loop on Gtk2. Issue #30160
...
git-svn-id: trunk@52333 -
2016-05-20 11:07:00 +00:00
ondrej
826e528110
LCL: grids: fix recent regressions: goThumbTracking behavior, grid editor scrolling, comment
...
git-svn-id: trunk@52331 -
2016-05-19 21:57:00 +00:00
ondrej
fc9ac9dd0b
LCL: grids: don't reset col/row offset in MoveNextAuto.
...
git-svn-id: trunk@52330 -
2016-05-19 21:49:47 +00:00
ondrej
7011d822c7
LCL: grids: better name TrySmoothScrollBy.
...
git-svn-id: trunk@52324 -
2016-05-17 21:09:32 +00:00
ondrej
cb66fc3d5c
LCL: grids: fix clipping area for scrolling.
...
git-svn-id: trunk@52323 -
2016-05-17 21:06:32 +00:00
ondrej
d142d5f737
LCL: grids: improve scrolling.
...
git-svn-id: trunk@52322 -
2016-05-17 20:36:07 +00:00
ondrej
50ea528caa
lcl: grids: fix backwards compatibility after r52316 #19ab80027c. Issue #30150
...
git-svn-id: trunk@52320 -
2016-05-17 10:43:15 +00:00
ondrej
f1bc81b3e8
lcl: grids: fix backwards compatibility after r52316 #19ab80027c. Issue #30150
...
git-svn-id: trunk@52318 -
2016-05-17 07:38:52 +00:00
ondrej
19ab80027c
LCL: grids: improve scrolling.
...
git-svn-id: trunk@52316 -
2016-05-16 22:48:36 +00:00
jesus
2d2e8cfaa7
LCL, grids: fix Grid-save-to-csv issues related to VisibleColumnsOnly, from wp, issue #30057
...
git-svn-id: trunk@52253 -
2016-04-25 22:00:44 +00:00
jesus
23712d9f1c
LCL, grids: do AutoEdit on MouseUp it fix double click problem issue #29877
...
git-svn-id: trunk@52238 -
2016-04-23 05:32:29 +00:00
jesus
f61db5300e
LCL, grids: use assigned on testing for method property
...
git-svn-id: trunk@52219 -
2016-04-19 20:49:40 +00:00
jesus
71ae0bd810
LCL, grids: fix writing column titles in LRT file for translating purposes, issue #29763 , #30013
...
git-svn-id: trunk@52216 -
2016-04-19 20:39:23 +00:00
jesus
f976741718
rtticontrols: fix fixedcols/fixedrows rttigrid properties, issue #29967
...
git-svn-id: trunk@52145 -
2016-04-08 07:54:52 +00:00
jesus
1a9f949c1f
LCL, grids: fix last cell not scrollble, from Michl, issue #28889
...
git-svn-id: trunk@52063 -
2016-03-26 17:27:54 +00:00
jesus
fdeb9c3110
LCL, grids: fix saving sizepriority value, patch from Michl, issue #29691
...
git-svn-id: trunk@52029 -
2016-03-23 20:31:48 +00:00
jesus
54cfaed2a6
LCL, grids: fixes MouseToGridZone which in some cases failed to return gzInvalid (related to r51914 #5224c3c339), fixes issue #29842
...
git-svn-id: trunk@51980 -
2016-03-17 21:15:58 +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
ondrej
037caacba5
lcl: publish TDrawGrid.OnGetCellHint. Issue #29727
...
git-svn-id: trunk@51701 -
2016-02-26 00:16:07 +00:00
mattias
acc7557185
lcl: TCustomGrid: check if handle allocated in VisualChange and EditorPos
...
git-svn-id: trunk@51438 -
2016-01-28 12:46:28 +00:00
ondrej
9e65d8f0c1
grids: Do not reset Offset in keyboard Events. Issue #29420 , patch by Michl
...
git-svn-id: trunk@51317 -
2016-01-18 18:47:23 +00:00
ondrej
6d831b44de
LCL: grids: partially revert r49016 #2b2ffb7044 that prevents OnSelectEditor when entering cell by keyboard. Issue #29191
...
git-svn-id: trunk@51286 -
2016-01-14 17:00:34 +00:00
juha
b87cd5e7e8
LCL: Align column header in DBGrid correctly when DefaultDrawing. Issue #29395 , patch from Tony Whyman.
...
git-svn-id: trunk@51276 -
2016-01-14 10:48:19 +00:00
ondrej
0246f8c565
lcl: grids: fix Wrong Alignment in TCustomGrid for Editor. Issue #29243 , patch by Michl
...
git-svn-id: trunk@51092 -
2015-12-31 09:47:35 +00:00
ondrej
c93f1b0a8b
lcl: grids: don't apply editor value if ESC is pressed. Issue #29261 , patch by abonic1
...
git-svn-id: trunk@51088 -
2015-12-31 08:22:57 +00:00
ondrej
775dee256f
grids: fix row background color when editing and goRowSelect enabled. Issue #29237
...
git-svn-id: trunk@51005 -
2015-12-23 11:50:24 +00:00
ondrej
0d604bed83
lcl: grids: fix editor position. Issue #29196 . Patch by abonic1
...
git-svn-id: trunk@50956 -
2015-12-20 16:09:26 +00:00
ondrej
7bbc22c03b
lcl: grids: fixed painting issues on select introduced in recent patches. Issue #29196
...
git-svn-id: trunk@50950 -
2015-12-19 20:03:17 +00:00
ondrej
66ddbe063a
LCL: grids: support string editor alignment
...
git-svn-id: trunk@50874 -
2015-12-17 19:20:16 +00:00
ondrej
fe12761cd7
lcl: grids: close combobox editor on ESC
...
git-svn-id: trunk@50873 -
2015-12-17 18:51:58 +00:00
ondrej
c1953e12dc
lcl: grids: close editor on ESC
...
git-svn-id: trunk@50872 -
2015-12-17 18:46:34 +00:00
ondrej
568abf6619
lcl: grids: fix F2 show editor. Issue #29202 . Patch from abonic1
...
git-svn-id: trunk@50871 -
2015-12-17 18:38:58 +00:00
ondrej
2e076a451f
LCL: grids: fix editor position for win32, Qt, Gtk2. Issue #29196
...
git-svn-id: trunk@50854 -
2015-12-17 08:32:52 +00:00
ondrej
1a7d40a2bc
LCL: grids: fix editor top position for centered layout. Issue #29196 . Patch from abonic1
...
git-svn-id: trunk@50851 -
2015-12-16 19:45:18 +00:00
ondrej
51a6a05770
LCL: grids: fix wrong comment from r50847 #9cd8314204
...
git-svn-id: trunk@50848 -
2015-12-16 16:05:28 +00:00
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
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