Commit Graph

226 Commits

Author SHA1 Message Date
jesus
f1a7c8604e LCL, fix picklist editor not saving data into dbgrid, regression introduced in r27317 #90bf8f4f5e, issue #17586
git-svn-id: trunk@27636 -
2010-10-09 18:32:47 +00:00
jesus
cc4b3e27e7 LCL, implemented clicking dbgrid indicator column moves selection, issue #17471
git-svn-id: trunk@27531 -
2010-09-30 20:39:11 +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
5cd721ecb7 LCL, trigger OnTitleClick in dbgrid only if there is a custom column attached to grid column
git-svn-id: trunk@27443 -
2010-09-23 18:08:22 +00:00
jesus
d0115172cc LCL, dbgrid, additional check in case FirstGridColumn is fixed
git-svn-id: trunk@27438 -
2010-09-22 19:32:15 +00:00
jesus
fbbf076117 LCL, fix selecting field when column is FirstGridColumn, from David Noriega, issue #17468
git-svn-id: trunk@27437 -
2010-09-22 19:28:28 +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
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
2e9b4a180d LCL, published DbGrid's OnEditingDone event, issue #17242
git-svn-id: trunk@27340 -
2010-09-12 19:13:47 +00:00
jesus
c925f08bcb LCL, check that dbgrid reserves at least one buffer, issue #14694
git-svn-id: trunk@27278 -
2010-09-07 17:48:05 +00:00
jesus
aa000f9e7e LCL, fix dbgrid insert operation, broken in previous patch, issue #17261
git-svn-id: trunk@27189 -
2010-08-25 17:23:50 +00:00
jesus
f77fe5926d LCL, fix dbgrid losing focus, issue #17239
git-svn-id: trunk@27183 -
2010-08-24 20:17:25 +00:00
jesus
136fc6f86a LCL, fix dbgrid editor position on new record if dgAlwaysShowEditor option is on, issue #17241
git-svn-id: trunk@27172 -
2010-08-23 17:32:16 +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
cc2754ad38 LCL, implemented grid's assign method, issue #17052
git-svn-id: trunk@26888 -
2010-07-29 05:24:37 +00:00
jesus
a823df3396 LCL, dbgrid revert column readonly fix, it seems a column with a nil field is not assumed to be readonly, issue #16626
git-svn-id: trunk@25899 -
2010-06-04 18:38:56 +00:00
jesus
3ea8aa8792 LCL, fix dbgrid column readonly property
git-svn-id: trunk@25820 -
2010-06-01 19:50:21 +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
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
sekelsenmat
4ec26a9c40 Adds support to FPC 2.2.0 for Windows CE
git-svn-id: trunk@25090 -
2010-05-01 10:59:17 +00:00
jesus
178c26c4d6 LCL, made dbgrid's DrawIndicator a virtual method so it an be overriden
git-svn-id: trunk@24523 -
2010-04-08 18:07:38 +00:00
jesus
95c4d44c8d LCL, improved grid's checkbox column support
git-svn-id: trunk@24105 -
2010-03-20 01:48:14 +00:00
mattias
7699be6191 LCL: removed LockBaseBounds, OnChangeBounds can now change its own bounds, bug #16028
git-svn-id: trunk@24085 -
2010-03-18 15:05:07 +00:00
jesus
6ea54da93e LCL, added dbgrid SelectedFieldRect property
git-svn-id: trunk@24073 -
2010-03-17 20:49:57 +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
ab668a2188 LCL, fix dbgrid editor sometimes eating first char, issue #13951
git-svn-id: trunk@23945 -
2010-03-11 15:58:22 +00:00
jesus
594efdb34c LCL, dbgrid fix row in call to DrawCellText in DefaultDrawColumnCell
git-svn-id: trunk@23526 -
2010-01-21 20:21:02 +00:00
jesus
af1c9d6799 LCL, fix dbgrid col/row typo in DefaultDrawColumnCell
git-svn-id: trunk@23525 -
2010-01-21 19:59:36 +00:00
jesus
cbd597f590 LCL, dbgrids.columns returns TDBGridColumns instead of TGridColumns, issue #15388
git-svn-id: trunk@23496 -
2010-01-20 07:53:48 +00:00
jesus
798f981a8b LCL, published dbgrid.TitleImageList from Christian, issue #15551
git-svn-id: trunk@23490 -
2010-01-19 20:41:27 +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
jesus
aa050e518f LCL, fix dgTitles dbgrid option after emtpy grid, from Paul Ishenin, issue #15172
git-svn-id: trunk@22756 -
2009-11-25 07:46:02 +00:00
jesus
1ecbf0622e LCL, limit position of scrollbar in dbgrid on new records (fix gtk2 scrollbar issues on some themes)
git-svn-id: trunk@21580 -
2009-09-04 19:08:38 +00:00
jesus
5ec4dadaec LCL, fix regresion adding custom columns in inactive dataset, issue #14239
git-svn-id: trunk@21231 -
2009-08-15 19:16:28 +00:00
jesus
e993b0b561 LCL, fix AV in dbgrid AutoSizeColumns when dataset is inactive, issue #14239
git-svn-id: trunk@21218 -
2009-08-13 19:22:41 +00:00
jesus
3058684e23 LCL, fix dbgrid editor show on pressing RETURN, issue #14325
git-svn-id: trunk@21204 -
2009-08-12 18:03:29 +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
b5d019c838 LCL, trim values when using dgAutoSizeColumns
git-svn-id: trunk@20872 -
2009-07-16 17:34:45 +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
f8733358d9 LCL, fix dbgrid AV and visual problems related to column sizes
git-svn-id: trunk@20745 -
2009-06-25 19:47:11 +00:00
jesus
3b2702a0e1 LCL, implements DbGrid's dgAutoSizeColumns option
git-svn-id: trunk@20735 -
2009-06-24 21:14:29 +00:00
jesus
f940156a21 LCL, check if dataset empty when deleting a record in dbgrid, from Boguslaw Brandys, issue #13246
git-svn-id: trunk@18870 -
2009-03-02 14:09:21 +00:00
jesus
4a1a208473 LCL, dbgrid, Do not only check if a column is readonly, but also if the underlying field is modifyable, from Joost, issue #13177
git-svn-id: trunk@18720 -
2009-02-17 03:49:34 +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
ed25b4f6f3 LCL, fix dbgrid picklist crash, issue #12797
git-svn-id: trunk@17840 -
2008-12-15 15:01:59 +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
1e9a8dcdbf LCL, published dbgrid UseXORFeatures property
git-svn-id: trunk@17568 -
2008-11-24 14:27:13 +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
d66de2be79 LCL, fix dbgrid multiselect issue #12462
git-svn-id: trunk@17130 -
2008-10-24 18:48:33 +00:00
jesus
2c95088959 LCL, fix dbgrid dgeAutoColumns option from Alexander S. Klenin
git-svn-id: trunk@16924 -
2008-10-08 06:24:57 +00:00
jesus
83c80c6dae LCL, fix OnGetText for dbgrid
git-svn-id: trunk@16740 -
2008-09-26 05:24:18 +00:00
jesus
96ec73b211 LCL, fix dbgrid indicator after fixes of LineTo/MoveTo
git-svn-id: trunk@16713 -
2008-09-25 00:26:47 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +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
jesus
5da0924867 LCL, fix dbgrid extending selection, issue #11945
git-svn-id: trunk@16185 -
2008-08-22 15:14:18 +00:00
jesus
c1a8c3d29c LCL, hide editor on dataset change, issue #11925
git-svn-id: trunk@16175 -
2008-08-21 13:05:43 +00:00
jesus
33235f2ad7 LCL, added dbgrid option dgPersistentMultiSelect to support dbgrid old multiselect behaviour, issue #11836
git-svn-id: trunk@16098 -
2008-08-18 05:49:26 +00:00
jesus
cb9189c27a LCL, fix dbgrid focus issue #11838
git-svn-id: trunk@16021 -
2008-08-11 05:23:28 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
jesus
772684f5d0 LCL, implemented extended selection in dbgrid with multiselect option
git-svn-id: trunk@15713 -
2008-07-08 21:12:32 +00:00
jesus
7127fba858 lcl, grids, fixed editing unicode texts
git-svn-id: trunk@15642 -
2008-07-01 21:02:44 +00:00
jesus
8571d2fc9a LCL, dbgrid, fix creating dbgrid after bitmap changes
git-svn-id: trunk@15490 -
2008-06-20 22:39:00 +00:00
mattias
c50c6e5f90 LCL: clean up
git-svn-id: trunk@15436 -
2008-06-16 09:04:33 +00:00
jesus
a779c0af6e LCL, grids, changed cbsEllipsis editor issue #7214, fix unwished selection change while editing if mouse moved (gtk), several editor problems if goAlwaysShowEditor option is set
git-svn-id: trunk@15427 -
2008-06-14 23:07:53 +00:00
paul
693bccca27 lcl: return DataLink on CM_GETDATALINK (issue #0001410)
git-svn-id: trunk@14741 -
2008-04-03 01:33:43 +00:00
jesus
88b8dd4d57 grids, fixes redraw issues (issue #10659) and correct buffercount in dbgrid
git-svn-id: trunk@13818 -
2008-01-21 08:49:46 +00:00
jesus
2ddd71c0ce grids, fixed slow sorting tip from Ts. Petrov, issue #10642
git-svn-id: trunk@13804 -
2008-01-19 20:06:09 +00:00
vincents
ba5c0b67b4 LCL: resourcestring for confirm delete message (bug #10372)
git-svn-id: trunk@13274 -
2007-12-11 11:15:35 +00:00
paul
6b5b6fd401 1. split lcl images to:
- lcl_dbgrid_images and
- lcl_dbnav_images
so applications will include only those images they really nead
2. remove old lclicons
3. add script files to build resources

git-svn-id: trunk@13241 -
2007-12-09 07:03:59 +00:00
jesus
6a565caf67 LCL, dbgrid, fix scrollbar position is not updated sometimes
git-svn-id: trunk@13080 -
2007-11-29 18:32:08 +00:00
mattias
e8f4f6e240 replaced several BoolToStr calls with dbgs
git-svn-id: trunk@12914 -
2007-11-18 13:06:38 +00:00
jesus
4c24b68ea9 LCL, grids, fixed AutoAdvance when grid has goRowSelect option, reported by Barko
git-svn-id: trunk@12529 -
2007-10-20 08:11:59 +00:00
jesus
0752945e3d LCL, dbgrids, fixes checkboxes not visible when using column's cbsCheckboxColumn style
git-svn-id: trunk@12247 -
2007-09-29 18:48:34 +00:00
jesus
443b0c952d LCL, grids, recalc DefaultRowHeight based on current font size, issue #9760
git-svn-id: trunk@12182 -
2007-09-25 22:57:15 +00:00
jesus
d77f7bb377 LCL, dbgrid, fixed scrollbar disappearing when scrollbars=ssAutoVertical, issue #9689
git-svn-id: trunk@12145 -
2007-09-23 04:35:18 +00:00
jesus
0b5ade8441 LCL, dbgrid, fixed TDBGrid scrolling doesn't update active editor, issue #9620
git-svn-id: trunk@11984 -
2007-09-10 03:39:24 +00:00
jesus
66f6e87d4d LCL, dbgrids, reorder of some boolean expressions from Luiz Americo
git-svn-id: trunk@11874 -
2007-08-28 16:31:20 +00:00
jesus
061c5c6ee3 LCL, dbgrid, fixes RETURN key in last field of last record now avances to new row
git-svn-id: trunk@11764 -
2007-08-09 20:48:53 +00:00
mattias
d48eb4b364 codetools: implemented function to convert simple functions to constants, h2pas: new tools to reduce IFDEFs and fucntions to constant conversion
git-svn-id: trunk@11761 -
2007-08-08 18:22:43 +00:00
jesus
7ecce099a2 LCL, grids, fixed auto editing and added AutoEdit property
git-svn-id: trunk@11752 -
2007-08-07 00:05:10 +00:00
jesus
9c18feacc6 LCL, dbgrid scrolling was locked under some circunstances, fix issue #9381
git-svn-id: trunk@11741 -
2007-08-04 23:38:29 +00:00
jesus
683b03a129 LCL, grids, improved dbgrid ownerdraw delphi compatibility, fixed dbgrid scroll issue (9219), improved and fixed dbgrid with native style
git-svn-id: trunk@11468 -
2007-07-12 07:31:39 +00:00
jesus
b465403293 LCL, grids Improved themed look in TitleStyle:=tsNative, implemented headers hot tracking and pushed look when clicking
git-svn-id: trunk@11203 -
2007-05-25 21:04:25 +00:00
jesus
7613000706 LCL, grids fix arrow keys to navigate TDBGrid does not work after edit, issue #8546
git-svn-id: trunk@11136 -
2007-05-14 05:31:29 +00:00
jesus
d4b0c88e83 LCL: dbgrid, fixed FieldName/DisplayFormat typo
git-svn-id: trunk@11115 -
2007-05-09 16:39:56 +00:00
vincents
370aa4c253 fixed fpc 2.3 compilation (assigning to set or record properties)
git-svn-id: trunk@11078 -
2007-05-04 22:43:58 +00:00
jesus
15f7db6d03 LCL, fix several db controls to not enter dataset in edit state if datasource.autoedit is false, issue #8739
git-svn-id: trunk@11066 -
2007-05-03 17:34:56 +00:00
vincents
a168e7a228 LCL: don't capitalize keywords (e.g Property -> property)
git-svn-id: trunk@11043 -
2007-05-01 17:32:12 +00:00
jesus
c1e14d850d dbgrid: update field textusing text property so field's OnSetText event can be used (from Aleksey Lagunov)
git-svn-id: trunk@10746 -
2007-03-13 23:56:32 +00:00
jesus
7c526a7dfe dbgrid: fix cancel editing record using UP key, issue #8345 (probably)
git-svn-id: trunk@10652 -
2007-02-18 20:22:47 +00:00
vincents
96ad5d8179 LCL: published dragging related properties for TDBxxx components
patch by: Paul Ishenin

git-svn-id: trunk@10649 -
2007-02-16 13:11:37 +00:00
jesus
d947dfbb55 dbgrid: fixed cell grid might draw over vertical grid lines (issue #8318)
grid: added small margin at the right side of cell so text near the grid line looks better

git-svn-id: trunk@10628 -
2007-02-12 19:27:56 +00:00
jesus
cca097adbc dbgrid: fix editor doesnt hide if while editing the last record user press down arrow key (issue #8262)
grid: enable descendant grids to override DrawCellGrid

git-svn-id: trunk@10612 -
2007-02-08 17:52:10 +00:00
jesus
ddc4c1e57c dbgrid: Additional check for valid ActiveRecord
git-svn-id: trunk@10513 -
2007-01-26 17:08:26 +00:00
jesus
94485e724e dbgrid: Checking for valid ActiveRecord (issue #8224)
git-svn-id: trunk@10512 -
2007-01-26 17:04:06 +00:00
jesus
670108df05 dbgrid: check for active datalink, issue #8194
git-svn-id: trunk@10504 -
2007-01-26 09:13:37 +00:00
jesus
be37b3ea24 dbgrid: update active row if active record changed (bug #7934)
git-svn-id: trunk@10502 -
2007-01-24 08:42:25 +00:00