mattias
9c95463167
lcl: dbgrids: high dpi: scale indicator column width
...
git-svn-id: branches/fixes_1_8@55693 -
2017-08-19 08:41:59 +00:00
mattias
b90e79e11e
lcl: dbgrids: hide vertical scrollbar for ssNone and ssHorizontal style. Issue #32134
...
git-svn-id: branches/fixes_1_8@55575 -
2017-07-24 12:25:34 +00:00
maxim
5ba813fb7f
Merged revision(s) 55381 #e6fe4815c6 from trunk:
...
lcl: dbgrids: fix default col widths. Issue #32021
........
git-svn-id: branches/fixes_1_8@55399 -
2017-06-26 23:02:36 +00:00
maxim
2f9eb3a4eb
Merged revision(s) 54948-54949 #b54495505b-#b54495505b, 54956 #9edd2d5ad2, 54964 #d208ef2dad, 54970 #aa4dfd880b, 55020 #da1e03941c from trunk:
...
lcl: grids: high-DPI: rewrite ColWidth&RowHeight scaling so that it's Delphi and Lazarus 1.6 compatible.
........
lcl: grids: add (forgotten) *IsStored functions to DefaultColWidth and DefaultRowHeight properties. (related revision: r54948 #b54495505b)
........
lcl: grids: keep *IsStored functions to DefaultColWidth and DefaultRowHeight properties protected-only (related revision: r54949 #80a8c39f9d)
........
lcl: label: fix CalcFittingFontHeight. Patch by Luca Olivetti
........
lcl: grids: add Options2 = [goScrollToLastCol, goScrollToLastRow]. Issue #31766
........
lcl: treeview: High-DPI: fix scaling of non-themed node icons. Issue #31829
........
git-svn-id: branches/fixes_1_8@55052 -
2017-05-22 23:01:57 +00:00
ondrej
45772e3d0c
Merged revision(s) 54885 #56f3c227b7 from trunk:
...
lcl: grids: revert r54883 #bff91a4961
git-svn-id: branches/fixes_1_8@54886 -
2017-05-12 20:18:45 +00:00
ondrej
aee454aa3c
Merged revision(s) 54872 #f9266d01ea,54874 #dbe072e701,54875 #b8d6c0d8dc,54877 #cd4add856f,54878 #5377b0e786,54881 #c5cf593797,54812 #e3f7770451,54813 #ede8a86d9d,54815 #118cfb3d98,54816 #43e271b439,54817 #76e4dccfaa,54840 #553d56948a,54841 #5fc40612bc,54842 #2abbee1637,54843 #dcdcafb794,54844 #92cf9781fa,54882 #3ba0ca06c3,54883 #bff91a4961 from trunk:
...
- r54872 #f9266d01ea lhelp: Fix lhelp to show popup hints. Issue #31732 .
- r54874 #dbe072e701 Menu designer: Call GlobalDesignHook.Modified after adding an item. Issue #31791 .
- r54875 #b8d6c0d8dc gridexamples: in title_image_demo show images at start, adapt height of header row to image layout) (http://forum.lazarus.freepascal.org/index.php/topic,36841.0.html )
- r54877 #cd4add856f Examples: Minor improvements of sample project motiongraphics (http://forum.lazarus.freepascal.org/index.php/topic,36858.msg245986.html )
- r54878 #5377b0e786 Examples: Improved usability of demo "openurltest".
- r54881 #c5cf593797 Examples: Fix crash of demo "propstorage" (http://forum.lazarus.freepascal.org/index.php/topic,36862.msg246019/topicseen.html ).
- r54812 #e3f7770451 lcl: grids: disable VisualChange and UpdateSizes if AutoSize is disabled. Solves part of Issue #31715
- r54813 #ede8a86d9d lcl: support for DebugDisableAutoSizing compiler define
- r54815 #118cfb3d98 lcl: wincontrol: ignore FBoundsRealized in WM_SIZE. Solves part of Issue #31715
- r54816 #43e271b439 lcl: grids: Hi-DPI: row heights and column width. New default (system) value is -1. Solves part of Issue #31715
- r54817 #76e4dccfaa lcl: grids: ignore WMSIZE when updating scrollbars. Solves part of Issue #31715
- r54840 lcl: grids: fix scrolling after r54816 #43e271b439, Issue #31715
- r54841 #5fc40612bc lcl: grids: scroll to highest possible value if col/row are out of valid bounds. Related to Issue #31766
- r54842 lcl: dbgrids: adapt after r54816 #43e271b439. Issue #31765 and #31715
- r54843 ide: packager: adapt after r54816 #43e271b439. Issue #31762 and #31715
- r54844 #92cf9781fa lcl: grids: make GetDefaultRowHeight and *ColWidth public. Issue #31762 and #31715
- r54882 #3ba0ca06c3 lcl: grids: make default value for DefRowHeight and DefColWidth 0 and not -1 (due to LCL consistency). Issue #31715
- r54883 #bff91a4961 lcl: grids: rename GetRealDefaultColWidth and GetRealDefaultRowHeight to GetRealDef* (LCL consistency). Issue #31715
git-svn-id: branches/fixes_1_8@54884 -
2017-05-12 20:01:43 +00:00
jesus
e366739dbb
LCL: fix exception in DbGrid on clicking when dataset is inactive, patch from Soner, issue #31631
...
git-svn-id: trunk@54520 -
2017-04-04 20:49:41 +00:00
ondrej
5b2322946b
lcl: dbgrids: workaround for FPC 3 issue #31532 (comment)
...
git-svn-id: trunk@54445 -
2017-03-18 13:51:19 +00:00
ondrej
34d80e9305
lcl: dbgrids: workaround for FPC 3 issue #31532
...
git-svn-id: trunk@54444 -
2017-03-18 13:37:42 +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
jesus
42132a8872
LCL, dbgrid: implements OnRowMoved event (public) by Gabor Boros (with changes), issue #31061
...
git-svn-id: trunk@53837 -
2017-01-02 17:59:38 +00:00
jesus
36c4499319
LCL, DbGrids: Fix result of DBGrid.MyCompareBookmarks, from Luiz Americo, issue #28743
...
git-svn-id: trunk@52706 -
2016-07-17 19:30:48 +00:00
jesus
af0ed1ee21
LCL, grids: Fix dbgrid header click issue #28919
...
git-svn-id: trunk@52617 -
2016-07-04 06:26:35 +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
089966371b
LCL, dbgrids implements dgDblClickAutoSize: an option for automatically resize a column when the mouse cursor is at column border, modified patch by Gabor Boros, issue #30061
...
git-svn-id: trunk@52576 -
2016-06-23 20:23:15 +00:00
ondrej
4f22e5e67a
lcl: dbgrids: allow smooth scrolling only for horizontal scrollbar.
...
git-svn-id: trunk@52350 -
2016-05-23 05:04:26 +00:00
ondrej
c9fd0654b7
lcl: dbgrids: disable goSmoothScroll. Issue #30165
...
git-svn-id: trunk@52348 -
2016-05-23 04:47:08 +00:00
ondrej
f573bc33de
LCL: dbgrids: fix vertical scrollbar range for empty dataset.
...
git-svn-id: trunk@52334 -
2016-05-20 11:14:06 +00:00
jesus
712eae76cd
LCL, dbgrid: fix exception on adding second record (regression caused by r51914 #5224c3c339), fixes issues #29802 , #29813
...
git-svn-id: trunk@51918 -
2016-03-11 16:24:10 +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
juha
3d8be36eb6
LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup".
...
git-svn-id: trunk@51045 -
2015-12-26 18:55:45 +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
mattias
89190707c1
LCL: exploded some With-blocks for fpc 3.1.1
...
git-svn-id: trunk@50237 -
2015-11-06 18:35:28 +00:00
jesus
684039eff1
LCL, fix crash on inserting record in multiselect dbgrid, from Luiz Americo, issue #28688
...
git-svn-id: trunk@49856 -
2015-09-21 03:34:31 +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
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
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
jesus
e80dcc0d2d
LCL, dbgrid, call SelectEditor manually in DatasetScrolled in case row index do not change, based on patch by Luca Olivetti, issue #27232
...
git-svn-id: trunk@47911 -
2015-02-20 03:22:01 +00:00
mattias
5ca1ca2bd8
LCL: less hints
...
git-svn-id: trunk@47614 -
2015-02-07 09:52:51 +00:00
juha
abf9a845da
Deprecate wrappers for LazUTF8 functions in LCLProc.
...
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
jesus
a574bd5af1
LCL, dbgrid: use CompareBookmarks where available, issue #24924
...
git-svn-id: trunk@46797 -
2014-11-10 16:36:56 +00:00
jesus
7b02f9eb70
LCL, make sure that dbgrid is focused after editor is hidden, fix insert problem described in issue #26929
...
git-svn-id: trunk@46680 -
2014-10-25 23:06:16 +00:00
jesus
9d659a9b1f
LCL, fix AV while doing dbgrid.selectedRows.delete (and memleak under 2.6.4), issue #26913
...
git-svn-id: trunk@46637 -
2014-10-22 01:05:09 +00:00
reiniero
e57be6e312
* Dbgrids comments on options
...
git-svn-id: trunk@46553 -
2014-10-14 08:59:40 +00:00
jesus
09a85e4fc9
LCL, dbgrid, enable OnFieldEditMask with default mask by Field.EditMask, patch by José Mejuto, issue #21362
...
git-svn-id: trunk@46510 -
2014-10-10 21:14:08 +00:00
jesus
344ab1efea
LCL, dbgrid, fix SIGSEGV on deactivating, from Petr-K, issue #23810
...
git-svn-id: trunk@46444 -
2014-10-06 17:07:35 +00:00
jesus
dc348f83b7
lcl, implements dbgrid copy current field value to clipboard, alternative solution to issue #25451
...
git-svn-id: trunk@46418 -
2014-10-03 20:44:48 +00:00
jesus
47e3161749
LCL, fix dbgrid cells color when DefaultDrawing=false
...
git-svn-id: trunk@46408 -
2014-10-02 19:33:15 +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
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
juha
2d68a26e97
LCL: Implement DBAction on DBControls. Issue #25988 , patch from Luigi
...
git-svn-id: trunk@46203 -
2014-09-13 09:40:00 +00:00
jesus
88ada652ba
LCL, dbgrids, debug format changes modified patch from Jack Linke, part of issue #26564
...
git-svn-id: trunk@46049 -
2014-08-18 05:59:36 +00:00
jesus
a3a3e0ba9a
LCL, dbgrid, fix locked editor in case of exception, from Petr-K, issue #26461
...
git-svn-id: trunk@45816 -
2014-07-08 19:12:47 +00:00
mattias
76b41ca24f
LCL: clean up
...
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
jesus
907159d8a2
LCL, fix DBGrid shows '(blob)' on all Blob fields, from Petr-K, issue #26061
...
git-svn-id: trunk@44795 -
2014-04-23 18:55:50 +00:00
maxim
1f5035d509
LCL, DbGrids: fixed compilation with FPC 2.7.1, patch from Udo Schmal and Dennis Fehr, bug #25647
...
git-svn-id: trunk@44011 -
2014-02-11 21:43:20 +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
mattias
c5f9e05da6
lcl: dbgrids: fixed memleak of KeyBookmark, patch from Luca Olivetti, bug #24412
...
git-svn-id: trunk@42912 -
2013-09-23 10:07:45 +00:00
jesus
1e4301f4d7
LCL, use UTF8Length instead of Length on calc dbgrid column field width, from Rumen Gyurov, issue #24491
...
git-svn-id: trunk@41501 -
2013-06-02 21:56:12 +00:00