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
jesus
ddcae0f6ae
LCL, grids bidi fixes: autoadvance
...
git-svn-id: trunk@31448 -
2011-06-29 00:29:34 +00:00
jesus
9d0ff42ad9
LCL, grids bidi fixes: range selection
...
git-svn-id: trunk@31438 -
2011-06-28 19:44:03 +00:00
jesus
d881cfd685
LCL, grids bidi fixes: sel/cell movement
...
git-svn-id: trunk@31435 -
2011-06-28 18:55:56 +00:00
jesus
0ea9c34467
LCL, check grid's Topleft range before calc scrollbar position, issue #19615
...
git-svn-id: trunk@31420 -
2011-06-27 17:50:19 +00:00
jesus
74c3742e3e
LCL, fix dbgrid scrollbar jumping issue #19615
...
git-svn-id: trunk@31369 -
2011-06-24 21:08:05 +00:00
jesus
0cda734085
LCL, grids, option for showing & prefix in columns titles, issue #19470
...
git-svn-id: trunk@31338 -
2011-06-22 20:51:53 +00:00
jesus
54b44563d9
LCL, make the grids send first typed char to external editors, issue #19306
...
git-svn-id: trunk@31325 -
2011-06-22 03:46:06 +00:00
jesus
a015faa28d
LCL, grids implements moving cell cursor on setting grid.Slectiong, issue #19458
...
git-svn-id: trunk@31008 -
2011-06-02 06:39:31 +00:00
jesus
89227ce544
LCL, use UTF8 functions on loading and saving grid files, from Maxim Ganetsky, issue #19441
...
git-svn-id: trunk@31003 -
2011-06-01 20:35:17 +00:00
juha
4c754a2b41
LCL: add feature goAutoAddRows to CustomGrid Options.
...
git-svn-id: trunk@30814 -
2011-05-19 17:34:10 +00:00
juha
5d298f145e
LCL: deprecate OnEditButtonClick and introduce OnButtonClick with more params. Issue #19377
...
git-svn-id: trunk@30807 -
2011-05-19 12:22:25 +00:00
maxim
29d00b67cf
Reverted r30719 (adding SortOrder parameter to OnCompareCells event) and all subsequent commits (r30724, r30727 #7cdf1cffde) which were intended to fix breakage it caused
...
git-svn-id: trunk@30729 -
2011-05-13 22:54:51 +00:00
juha
49ca3709de
LCL: Add SortOrder parameter to OnCompareCells event for custom sorting Grids.
...
git-svn-id: trunk@30719 -
2011-05-13 09:42:51 +00:00
juha
1e6d1a65e8
LCL: Minor optimization for Grid column sort.
...
git-svn-id: trunk@30717 -
2011-05-13 09:06:40 +00:00
juha
16c323b485
LCL: Improve the column sort feature of TStringGrid. User defined glyphs are retained after sorting.
...
git-svn-id: trunk@30645 -
2011-05-09 19:49:46 +00:00
juha
90eb2a6f03
LCL: implement property ColumnClickSorts in DrawGrid and StringGrid.
...
git-svn-id: trunk@30630 -
2011-05-09 07:55:03 +00:00
jesus
0362996985
LCL, fix grids scrollbars issue #19257
...
git-svn-id: trunk@30548 -
2011-05-04 19:00:17 +00:00
juha
82e477a0ca
LCL: Try to show scrollbars when Row/Col is changed by code. Improves issue #19257 but doesn't solve it.
...
git-svn-id: trunk@30537 -
2011-05-03 08:58:08 +00:00
juha
112fd87d96
LCL: Simplify TCustomGrid code a little.
...
git-svn-id: trunk@30536 -
2011-05-03 08:58:04 +00:00
jesus
f1dbbf861a
LCL, grids, only call cellclick on cells which completes the mousedown-mouseup cycle, fixes problem where grid receives mouseup on doubleclicking opendialog
...
git-svn-id: trunk@29917 -
2011-03-19 19:31:20 +00:00
juha
f38190794b
Formatting: joined lines where only ');' was split to its own line, in procedure defs.
...
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
jesus
ae13b849e4
LCL, make grid remember changes in fixedcols or fixedrows in a fixed grid (grid with 0 cols or rows), issue #18832
...
git-svn-id: trunk@29746 -
2011-03-07 20:41:05 +00:00
sekelsenmat
9b5f47de20
Patch from Alexsander Rosa, adds a Tag property to TGridColumn
...
git-svn-id: trunk@29692 -
2011-02-28 12:38:01 +00:00
jesus
1eaf436446
LCL, fix dbgrid indicator appearing multiple times, problem introduced in r29577 #cb47ca2b93
...
git-svn-id: trunk@29655 -
2011-02-22 22:05:06 +00:00
jesus
cb47ca2b93
LCL, grids, do not invalidate cells which are not visible (or do not exist as in this case), fix issue #18498
...
git-svn-id: trunk@29577 -
2011-02-16 21:18:48 +00:00
jesus
2364ee740e
LCL, fix grids showing checkbox if column is hidden, issue #18389
...
git-svn-id: trunk@29576 -
2011-02-16 20:27:48 +00:00
mattias
46cae9d061
fixed typos: completly
...
git-svn-id: trunk@29443 -
2011-02-10 09:38:34 +00:00
jesus
73701772d8
LCL, fix grids loop in scrolltocell, from cobines, issue #18660
...
git-svn-id: trunk@29406 -
2011-02-07 07:00:24 +00:00
jesus
e2b5fc4bf1
LCL, fix grids scrollbar, from Tomasz Wieckowski, issue #18642
...
git-svn-id: trunk@29405 -
2011-02-07 06:05:01 +00:00
jesus
0bb3877d59
LCL, fix grid cursor disappearing on scrolling up/left when toprow/leftcol>=fixedRow/fixedcolcol, issue #18243
...
git-svn-id: trunk@29202 -
2011-01-25 19:49:33 +00:00
jesus
d5139c9bd5
LCL, fix problem in dbgrid accepting input chars even if editing field would not accept them
...
git-svn-id: trunk@28756 -
2010-12-18 06:35:36 +00:00
jesus
56fb0cb880
LCL, use fully visible grids calc the amount of cols or rows to scroll, issue #17882
...
git-svn-id: trunk@28664 -
2010-12-10 05:36:18 +00:00
jesus
a9ab653001
LCL, fix grid unnecesary scrolling, issue #16102
...
git-svn-id: trunk@28645 -
2010-12-08 07:44:10 +00:00
jesus
935f55fab1
LCL, fix dbgrid entering dataset edit state when selecting a different field and dgAlwaysShowEditor is on
...
git-svn-id: trunk@28562 -
2010-11-30 05:58:57 +00:00
jesus
e677aae348
LCL, fix dbgrid index out of bounds (-1) when the selected record is not the first and the dataset is closed and opened
...
git-svn-id: trunk@28484 -
2010-11-25 20:25:17 +00:00
mattias
38fb9f15de
LCL: clean up
...
git-svn-id: trunk@28338 -
2010-11-19 09:37:30 +00:00
jesus
db0a5c00b2
LCL, make the grids remember the number of fixed/cols/rows after the grid has been cleared, issues #17538 and #17552
...
git-svn-id: trunk@28157 -
2010-11-08 20:19:22 +00:00
mattias
fb92de044b
IDE: fixed compilation
...
git-svn-id: trunk@27898 -
2010-10-27 17:15:33 +00:00
jesus
40e1411e15
LCL, Grids, DefaultRowHeight was not stored if modified and then changed back to original value, issue #17692
...
git-svn-id: trunk@27819 -
2010-10-23 18:30:40 +00:00
jesus
87f28a9497
LCL, fix hiding and then showing a dbgrid column (remained 0 width), bug reported by José Antonio Cuello
...
git-svn-id: trunk@27813 -
2010-10-22 19:42:09 +00:00
vincents
ab775d508d
lcl: published TStringGrid OnGetCheckboxState and OnSetCheckboxState
...
git-svn-id: trunk@27778 -
2010-10-20 19:20:12 +00:00
jesus
923c7f1753
LCL, make grid's picklist editor to fit cell bounds where possible
...
git-svn-id: trunk@27637 -
2010-10-09 18:48:21 +00:00
jesus
ba026d2468
LCL, made public grid's invalidateRow and InvalidateRange methods, issue #17568
...
git-svn-id: trunk@27611 -
2010-10-07 20:44:10 +00:00
jesus
962c2c3c0c
LCL, fix normal row drawing over fixed row (gtk), issue #13404
...
git-svn-id: trunk@27549 -
2010-10-02 19:39:41 +00:00
jesus
3032b9503a
LCL, published OnMouseEnter and OnMouseLeave for grids, issue #17518
...
git-svn-id: trunk@27530 -
2010-09-30 20:07:24 +00:00
jesus
3ecc366dbd
LCL, fix dbgrid titles drawing at design time, reported in issue #17436
...
git-svn-id: trunk@27415 -
2010-09-19 23:56:56 +00:00
marc
ccc8145a6d
* Improved delphi compatebility. Patch by Jarto Tarpio
...
git-svn-id: trunk@27413 -
2010-09-19 17:10:41 +00:00
jesus
bea78b0370
LCL, grids, store always custom columns titles for translation purposes, issue #27230
...
git-svn-id: trunk@27389 -
2010-09-16 19:09:53 +00:00
jesus
6c402161ed
LCL, reset HotCellPainted Flag on grid.clear to fix exception on mouse move, from Sławomir Załęcki, issue #17426
...
git-svn-id: trunk@27387 -
2010-09-16 17:02:13 +00:00
jesus
dc4e797f5b
LCL, improved grids TAB-ing, options goTabs or dgTabs, issue #16007
...
git-svn-id: trunk@27374 -
2010-09-15 21:37:09 +00:00
jesus
3b670b01a2
LCL, reworked grid's cell drawing fixing several bugs including issue #17407
...
git-svn-id: trunk@27373 -
2010-09-15 21:09:44 +00:00
jesus
2a9d99e631
LCL, grids, do not auto resize an invisible custom column
...
git-svn-id: trunk@27341 -
2010-09-12 22:26:46 +00:00
jesus
9cb4d0cf13
LCL, do not unnecessarily scroll the grid on click, issue #16102
...
git-svn-id: trunk@27321 -
2010-09-12 05:17:56 +00:00
jesus
a1fc7a7bee
LCL, do not check for default grid's column title, issue #16845
...
git-svn-id: trunk@27320 -
2010-09-12 00:00:13 +00:00
jesus
90bf8f4f5e
LCL, grid improvement (inplace editing of cell values with picklisteditor and stringeditor), from Oleg, issue #15833
...
git-svn-id: trunk@27317 -
2010-09-11 22:44:28 +00:00
jesus
62e7fc2053
LCL, grids, changed the cell's text drawing order, issue #17372
...
git-svn-id: trunk@27294 -
2010-09-10 19:15:59 +00:00
blikblum
366d200bb8
lcl: undo rev 27074 #706b7cc905 and re implement using a static variable
...
git-svn-id: trunk@27081 -
2010-08-12 16:05:16 +00:00
blikblum
706b7cc905
lcl: move RegisterPropertyToSkip calls of Grids and DBCtrls to unit initialization so it's called only once and not on every component created
...
git-svn-id: trunk@27074 -
2010-08-12 12:55:04 +00:00
jesus
10f1d85bf5
LCL, fix dbgrid showing 'phantom' rows on inserting (sqlquery bug on changing buffercount on this state)
...
git-svn-id: trunk@27062 -
2010-08-11 05:40:21 +00:00
jesus
5eba113ce5
LCL, implements grid's cbsButtonColumn editor style
...
git-svn-id: trunk@27029 -
2010-08-08 02:10:24 +00:00
jesus
cc2754ad38
LCL, implemented grid's assign method, issue #17052
...
git-svn-id: trunk@26888 -
2010-07-29 05:24:37 +00:00
paul
3175fb3b4a
lcl: cleanup
...
git-svn-id: trunk@26742 -
2010-07-20 02:53:04 +00:00
jesus
147992e189
LCL, fix grid scrolling issue #11092
...
git-svn-id: trunk@26739 -
2010-07-19 19:20:46 +00:00
mattias
f443bd8949
LCL: clean up
...
git-svn-id: trunk@26691 -
2010-07-16 18:30:21 +00:00
jesus
3a4d1d6c19
LCL, fix grid's column resizing problems, issue #16800
...
git-svn-id: trunk@26689 -
2010-07-16 17:35:51 +00:00
jesus
38bc8a1545
LCL, grid change to use XMLConf instead of XMLCfg
...
git-svn-id: trunk@25806 -
2010-05-31 18:38:11 +00:00
sekelsenmat
887eaf9147
Improves wince scrolling. see bug #14823 . Part 2
...
git-svn-id: trunk@25803 -
2010-05-31 14:25:39 +00:00
jesus
d7947be5e9
LCL, fix grid should be focused after editing
...
git-svn-id: trunk@25590 -
2010-05-23 19:14:34 +00:00
jesus
83d89e5433
LCL, fix hidding editor on losing grid's focus, issue #15787
...
git-svn-id: trunk@25583 -
2010-05-22 16:49:07 +00:00
jesus
ab9338a782
LCL, check custom columns on copy grid's content to clipboard
...
git-svn-id: trunk@25502 -
2010-05-18 21:23:04 +00:00
jesus
430aa43196
LCL, fix grid regression on column moving where only grid header and not grid content was being moved
...
git-svn-id: trunk@25501 -
2010-05-18 20:41:28 +00:00
jesus
15ace269d6
LCL, fix toggle checkbox on column on right click, it should be left click, issue #16482
...
git-svn-id: trunk@25442 -
2010-05-15 19:23:12 +00:00
jesus
2588baa18d
LCL, change grids highlight text color, from Vladimir Zhirov, issue #16333
...
git-svn-id: trunk@24941 -
2010-04-26 00:01:11 +00:00
jesus
622b9e77e6
LCL, grid's bidi improvements by Zaher Dirkey
...
git-svn-id: trunk@24632 -
2010-04-15 15:58:42 +00:00
dmitry
b55e278c6e
drawgrid: fix SetSelection that was causing exception, if too big range is given
...
git-svn-id: trunk@24609 -
2010-04-13 09:14:46 +00:00
jesus
95c4d44c8d
LCL, improved grid's checkbox column support
...
git-svn-id: trunk@24105 -
2010-03-20 01:48:14 +00:00
martin
e9613684e0
LCL, grids: clean up
...
git-svn-id: trunk@24087 -
2010-03-18 15:31:28 +00:00
jesus
27045012a8
LCL, fix dbgrid exception while setting up automatic columns (regresion introduced in r24057 #22775e7a58), issue #16031
...
git-svn-id: trunk@24072 -
2010-03-17 20:42:28 +00:00
jesus
d83ee6522b
LCL, fix exception on adding first custom column (regresion introduced in r24057 #22775e7a58), issue #16021
...
git-svn-id: trunk@24070 -
2010-03-17 17:56:27 +00:00
jesus
22775e7a58
LCL, grids, hidding custom columns do not modify ColCount, issue #15141
...
git-svn-id: trunk@24057 -
2010-03-17 03:37:09 +00:00
jesus
3a44334f6e
LCL, implemented grid event OnHeaderSizing, issue #15602
...
git-svn-id: trunk@24025 -
2010-03-16 06:36:28 +00:00
jesus
4482bc1b0f
LCL, fix erasing cell text on changes of editmask, issue #15048
...
git-svn-id: trunk@24024 -
2010-03-16 05:19:37 +00:00
jesus
617f9118af
LCL, fix dbgrid dgAlwaysShowSelection option, issue #15961
...
git-svn-id: trunk@23973 -
2010-03-13 06:04:05 +00:00
jesus
e41a4b5a78
LCL, allow StringGrid to copy current select range in addition to whole grid
...
git-svn-id: trunk@23901 -
2010-03-09 19:28:18 +00:00
jesus
84db565553
LCL, fix clip cell with canvas' Save and RestoreHandleState, which qt interface supports, from zeljan, issue #15684
...
git-svn-id: trunk@23778 -
2010-02-24 19:16:22 +00:00
jesus
f02277ba95
LCL, fix clipping cell, issue #15684
...
git-svn-id: trunk@23729 -
2010-02-18 05:37:32 +00:00
jesus
6e2ec4902f
LCL, on adding rows/cols to an empty grid do not add a fixedrow if grid has custom columns
...
git-svn-id: trunk@23650 -
2010-02-05 21:16:52 +00:00
paul
7d8f24dd25
lcl: don't use initialization section with resources in grids, include resources only if grid class is used (removes unneeded grid resources from application).
...
git-svn-id: trunk@23637 -
2010-02-05 08:59:11 +00:00
jesus
5e049e36b3
LCL, grids, do row auto numbering starting on first non-fixed row, from graeme and flavio
...
git-svn-id: trunk@23632 -
2010-02-04 20:19:44 +00:00
jesus
79c3518d28
LCL, do not unfocus grid on keyboard actions, from C Western, issue #15647
...
git-svn-id: trunk@23609 -
2010-02-01 23:37:47 +00:00
jesus
e82038e7ea
LCL, added col,row arguments to TToggledCheckboxEvent, issue #15558
...
git-svn-id: trunk@23524 -
2010-01-21 18:17:54 +00:00
jesus
dd8a42560f
LCL, grids, implemented notification for checkbox toggle
...
git-svn-id: trunk@23510 -
2010-01-20 20:53:22 +00:00
jesus
1f0cad5e68
LCL, grids, implement saving/loading of custom columns properties, modified patch from Torbert Heinken, issue #15522
...
git-svn-id: trunk@23491 -
2010-01-19 21:51:21 +00:00
paul
216da02c61
lcl: remove ver2_0 workarounds
...
git-svn-id: trunk@23392 -
2010-01-06 17:05:28 +00:00
paul
fd45608001
lcl: add OnContextPopup to TDBGrid, rearrange grid events
...
git-svn-id: trunk@23239 -
2009-12-23 09:16:37 +00:00
paul
093edbf04f
lcl: implement GetOwner for TGridColumnTitle
...
git-svn-id: trunk@23222 -
2009-12-22 04:17:36 +00:00
mattias
5a9d464e4f
IDE: build modes: clear read only cells
...
git-svn-id: trunk@23203 -
2009-12-20 12:45:15 +00:00
mattias
219deb34a5
reduced debugging
...
git-svn-id: trunk@23200 -
2009-12-19 23:42:48 +00:00
mattias
e77c7bec7b
IDE: build modes: stared group includes
...
git-svn-id: trunk@23199 -
2009-12-19 23:41:24 +00:00
jesus
dff8e486ad
LCL, fix stringgrid cell is not validated if advancement is stopped
...
git-svn-id: trunk@23106 -
2009-12-12 17:40:24 +00:00
paul
a1b73e8e94
lcl: implement GetOwner for all TCollection descendants which dont have it at moment
...
git-svn-id: trunk@22931 -
2009-12-03 04:03:01 +00:00
jesus
20f111934d
LCL, fix grids AutoSizeColumns ignoring column fonts, issue #15162
...
git-svn-id: trunk@22751 -
2009-11-24 14:50:17 +00:00
jesus
1ab6860b98
LCL, added metrics to fix grid's auto scrollbar issue #14799
...
git-svn-id: trunk@22535 -
2009-11-11 20:59:23 +00:00
jesus
4d743bce3e
LCL, corrects grids editing, from C. Western, issue #15025
...
git-svn-id: trunk@22494 -
2009-11-09 03:08:10 +00:00
jesus
8de5601593
LCL, fix editing grid cell in custom column even when it's set readonly
...
git-svn-id: trunk@22437 -
2009-11-04 21:31:27 +00:00
jesus
400a6e7478
LCL, fix Automatic scrollbars in TCustomGrid not always correctly invalidated when hidden, issue #14799
...
git-svn-id: trunk@22436 -
2009-11-04 20:23:12 +00:00
jesus
bdc10fa6ce
LCL, grids's MouseToCell methods returns coords -1 if point is out of bounds, patch from Tomasz Wieckowski with changes, issue #14619
...
git-svn-id: trunk@21870 -
2009-09-25 19:31:37 +00:00
mattias
f552d85248
LCL: grids: no scrolling by interface
...
git-svn-id: trunk@21440 -
2009-08-25 10:30:55 +00:00
mattias
d5a845d99d
LCL: grids: fixed result of DoMouseWheelUp/Down
...
git-svn-id: trunk@21422 -
2009-08-23 12:49:32 +00:00
mattias
f11cbd5147
LCL published TSTringGrid.OnMosueWheel
...
git-svn-id: trunk@21419 -
2009-08-23 12:38:18 +00:00
jesus
dacc19fbb8
LCL, implemented event OnValidateEntry in StringGrid
...
git-svn-id: trunk@21358 -
2009-08-20 16:51:30 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
jesus
731b768329
LCL, fixes for dbgrid indicator problems, issues #14139,#14160
...
git-svn-id: trunk@20912 -
2009-07-21 06:10:20 +00:00
jesus
1e8e729e45
LCL, implements fixedcols in dbgrid, patch from funky beast (with changes), issue #13139
...
git-svn-id: trunk@20801 -
2009-07-06 18:43:06 +00:00
jesus
8c3b6ed0f1
LCL, fix stringgrid columns autosize AV, issue #14055
...
git-svn-id: trunk@20746 -
2009-06-25 20:44:46 +00:00
paul
44affd588e
lcl: cleanup
...
git-svn-id: trunk@20739 -
2009-06-25 01:32:53 +00:00
jesus
3b2702a0e1
LCL, implements DbGrid's dgAutoSizeColumns option
...
git-svn-id: trunk@20735 -
2009-06-24 21:14:29 +00:00
jesus
803987e295
LCL, grid, take in count column title in autosizecolumn
...
git-svn-id: trunk@20665 -
2009-06-18 17:03:22 +00:00
paul
2544382402
lcl: publish TStringGrid.Constraints
...
git-svn-id: trunk@20472 -
2009-06-06 15:12:44 +00:00
martin
083fce06ef
Fixed Exception when sorting grid with no free columns or no free rows.
...
git-svn-id: trunk@20443 -
2009-06-05 16:05:36 +00:00
paul
597eb84d8c
lcl: Themes
...
- redo TThemeServices.GetDetailSize to return TSize instead of Integer
- improve toolbutton drawing
git-svn-id: trunk@20213 -
2009-05-26 01:32:38 +00:00
jesus
47e7115c4d
LCL, store cell widths also for autofilled grid
...
git-svn-id: trunk@20051 -
2009-05-19 16:17:33 +00:00
vincents
4c1b0307f9
LCL: grids: don't autosize string editor, fixes issue #13760
...
git-svn-id: trunk@20047 -
2009-05-19 09:59:52 +00:00
jesus
9d7d926126
LCL, fix grid handling F2 when it's not editable, from Daniel Simões de Almeida, issue #13591
...
git-svn-id: trunk@19626 -
2009-04-26 04:16:34 +00:00
jesus
df15c64cf9
Grids, if grid.font is modified while painting, do affect canvas.font directly to avoid repainting cycles due invalidates
...
git-svn-id: trunk@19434 -
2009-04-15 05:22:41 +00:00
paul
f02c53c71c
merge lcl-smartlink branch:
...
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line
lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line
Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line
changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line
fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line
Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line
Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line
merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line
cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line
finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line
Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line
register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line
RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line
remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line
remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line
Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line
Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line
Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line
Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line
Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line
moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line
corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line
removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line
qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line
moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line
Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line
Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line
wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line
carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line
cleanup
------------------------------------------------------------------------
git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
jesus
2d20e4ef95
LCL, grids, removed check for windows/linux in InternalNeedBorder, using IntersetctRect in BoxRect
...
git-svn-id: trunk@19159 -
2009-03-30 06:13:53 +00:00
jesus
26c62d75eb
LCL, made grid's BoxRect method protected
...
git-svn-id: trunk@19157 -
2009-03-29 18:56:52 +00:00
jesus
f2b575d55c
LCL, implemented grid's BoxRect method
...
git-svn-id: trunk@19156 -
2009-03-29 18:38:21 +00:00
jesus
bf50f029e1
LCL, fix mousescrolling a fixed grid, issue #13360
...
git-svn-id: trunk@19041 -
2009-03-20 08:06:36 +00:00
jesus
6a269eed85
LCL, fixed grid changed user cursor when col/row sizing/moving, issue #13335
...
git-svn-id: trunk@19039 -
2009-03-20 04:46:57 +00:00
jesus
79f72e92e9
LCL, fix stringgrid editor position when mouse wheel scrolling, issue #13309
...
git-svn-id: trunk@18976 -
2009-03-13 04:58:29 +00:00
jesus
85a175e084
LCL, make getcells and setcells virtual in TCustomStringGrid
...
git-svn-id: trunk@18823 -
2009-02-26 00:52:10 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
jesus
8cee5efb85
LCL, fix stringgrid's autosizecolumn crash, issue #12812
...
git-svn-id: trunk@18486 -
2009-01-29 08:04:55 +00:00
jesus
3a48aa228b
LCL, grids, fix app freeze (windows) when stringeditor is focused and grid handle is being destroyed
...
git-svn-id: trunk@18223 -
2009-01-09 16:53:43 +00:00
jesus
067b4e1f38
LCL, fix grid MouseWheel scrolling when there are hidden cols/rows, fix scrolling range. Issues #12925 and #12927
...
git-svn-id: trunk@18180 -
2009-01-07 07:26:53 +00:00
jesus
cf5fd331cf
LCL, implemented mousewheel scrolling grid, issue #12860
...
git-svn-id: trunk@18125 -
2009-01-05 07:20:30 +00:00
jesus
e600258955
LCL, grids, skipped VisibleColCount and VisibleRowCount properties, issue #10293
...
git-svn-id: trunk@18003 -
2008-12-31 05:58:55 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
jesus
6cb56909ad
LCL, makes cells in cbsColumnCheckbox column editable
...
git-svn-id: trunk@17839 -
2008-12-15 05:17:49 +00:00
jesus
2ad9a36af2
LCL, implements cbsColumnCheckbox in TDrawGrid/TStringGrid, issue #8682
...
git-svn-id: trunk@17837 -
2008-12-15 04:18:02 +00:00
jesus
ce47c40c3d
LCL, allow editing of lookup columns via picklist patch from Alexander Klenin, issue #12347
...
git-svn-id: trunk@17810 -
2008-12-12 01:24:02 +00:00
jesus
50f6ae6046
LCL, fixed some grids default properties
...
git-svn-id: trunk@17705 -
2008-12-07 02:21:35 +00:00
jesus
4d0dfb40f0
LCL, fix grid exeption after removing all rows and adding a new row, issue #12666
...
git-svn-id: trunk@17655 -
2008-12-01 23:34:14 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
jesus
c3ad1a6e38
LCL, fix ignoring columns with readonly=true from Michael V.C., issue #12617
...
git-svn-id: trunk@17479 -
2008-11-20 20:42:33 +00:00
jesus
f77fb72b40
LCL, don't draw focusrect if defaultdrawing=false, from Serggey Smirnov issue #12526
...
git-svn-id: trunk@17183 -
2008-11-02 06:22:46 +00:00
jesus
2dd7a9a855
LCL, grids, added ImageLayout property and title image demo from Alexander S. Klenin (with small changes)
...
git-svn-id: trunk@17057 -
2008-10-19 19:06:21 +00:00
jesus
47bf617f69
LCL, add images to grid columns by Alexander S. Klenin, issue #12419
...
git-svn-id: trunk@17046 -
2008-10-18 23:52:22 +00:00
jesus
6cdc2c62ff
LCL, make grid's InvalidateCell and InvalidateColumn public
...
git-svn-id: trunk@16994 -
2008-10-14 21:07:47 +00:00
jesus
e05845d0f4
LCL, fix exception when trying to focus editor, issue #12326
...
git-svn-id: trunk@16948 -
2008-10-10 16:52:43 +00:00
jesus
ed57405eeb
LCL, don't paste to or cut from grid if it's not editable, issue #12163
...
git-svn-id: trunk@16625 -
2008-09-17 14:30:27 +00:00
jesus
427ef13a50
LCL, fix stringgrid removing of last custom column, issue #12152
...
git-svn-id: trunk@16596 -
2008-09-15 14:56:08 +00:00
jesus
a081ba2890
LCL, check that grid editors do show or hide on some special situations
...
git-svn-id: trunk@16584 -
2008-09-13 21:25:16 +00:00
paul
3374c666b8
lcl: publish OnUTF8KeyPress
...
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
paul
fb4e50d0fe
grids: don't intersect with window messages which are > WM_USER (UDM_SETBUDDY, etc). fixes #0012112
...
git-svn-id: trunk@16518 -
2008-09-10 03:09:55 +00:00
jesus
bef0e71b34
LCL, fix resizing column issue #12098 (topleft calc failed because new columns have accumwidth=0)
...
git-svn-id: trunk@16505 -
2008-09-09 17:59:23 +00:00
mattias
69cfe88898
using UTF-8 for file operations and environment variables
...
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
c81aab571f
fixed uninitialized function results
...
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00