Commit Graph

436 Commits

Author SHA1 Message Date
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
jesus
d6717344a2 LCL, fix grids scrolling bug #11833
git-svn-id: trunk@16019 -
2008-08-10 23:40:10 +00:00
jesus
ee64a11642 LCL, removing a column with DeleteColRow in a columns enabled StringGrid should also remove columns content, issue #11799
git-svn-id: trunk@15962 -
2008-08-05 18:44:57 +00:00
jesus
7e7711b535 LCL, grids, only draw on cells with enough space
git-svn-id: trunk@15860 -
2008-07-24 20:55:49 +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
a1eb9d8f7f LCL, fixed selection change while dragging
git-svn-id: trunk@15727 -
2008-07-10 01:21:58 +00:00
jesus
7127fba858 lcl, grids, fixed editing unicode texts
git-svn-id: trunk@15642 -
2008-07-01 21:02:44 +00:00
jesus
6ab3cc3738 grids, changes on Grids ExtendedSelect , useXorFeatures and OnSelectEditor from mvc, issue #11521
git-svn-id: trunk@15487 -
2008-06-20 19:26:13 +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
jesus
5abcbe2bff LCL, fixes grid column resizing problem, issue #10732
git-svn-id: trunk@15282 -
2008-05-31 18:12:04 +00:00
jesus
9b7d2653bd LCL, grids, make sure ancestor is a compatible grid, fix #11363
git-svn-id: trunk@15264 -
2008-05-27 18:11:11 +00:00
jesus
0f8b78f1c9 LCL, fixed creating handle during loading of rowheights, hint from C Western, issue #10977
git-svn-id: trunk@14559 -
2008-03-17 18:49:19 +00:00
mattias
15ca8ee687 LCL: grids: not focusing when not enabled or not visible or loading/designing/destroying
git-svn-id: trunk@14480 -
2008-03-09 12:07:51 +00:00
paul
7bebb27eab messages:
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747)

git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
jesus
e536a2251a LCL, added CopyToClipboard method to stringgrid
git-svn-id: trunk@14411 -
2008-03-04 21:33:31 +00:00
jesus
2cc82b2869 LCL, grids, VisibleRowCount and VisibleColCount delphi compatible, issue #10932
git-svn-id: trunk@14408 -
2008-03-04 18:47:53 +00:00
vincents
7b8e54dadb LCL: fixed default value of TCustomGrid.ScrollBars (bug #10395)
git-svn-id: trunk@14404 -
2008-03-04 10:46:59 +00:00
paul
561d54ef86 lcl: publish drag-drop related properties for TDrawGrid and TStringGrid (0009251)
git-svn-id: trunk@14326 -
2008-02-29 18:47:13 +00:00
jesus
7e38efc3cf grids, fixed note under gtk about invalidaterect during paint message
git-svn-id: trunk@14224 -
2008-02-21 21:09:30 +00:00
jesus
c68ac42c85 grids, fix sporadic gdi leaks (gtk)
git-svn-id: trunk@14223 -
2008-02-21 20:32:56 +00:00
vincents
d1cdab13d9 LCL: fixed default value of TCustomGrid.TabStop (bug #10866)
git-svn-id: trunk@14222 -
2008-02-21 14:14:29 +00:00
mattias
acc075b846 lcl: grids: fixed compilation
git-svn-id: trunk@14201 -
2008-02-20 08:36:45 +00:00
jesus
418e7777de grid, make space in gridmessage so message handling doesn't mess with custom data (on windows)
git-svn-id: trunk@14199 -
2008-02-20 07:54:36 +00:00
jesus
fdf1e79e71 added soContent to default SaveOptions to StringGrid, fix #10852
git-svn-id: trunk@14195 -
2008-02-19 17:54:26 +00:00
mattias
763e629893 gtk intf: made eventbox of client areas visible. Otherwise it eats some mouse events
git-svn-id: trunk@14069 -
2008-02-10 13:57:46 +00:00
jesus
8ea3c3a257 grids, fix FSizePriority mem leak, tip from Lee Jenkins
git-svn-id: trunk@13834 -
2008-01-22 19:41:02 +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
b512ff2787 grids, fixed column resizing bug issues #10664,#10659
git-svn-id: trunk@13811 -
2008-01-20 20:29:03 +00:00
jesus
52e236cb80 grids, implemented SortOrder property for stringgrid, issue #10643
git-svn-id: trunk@13805 -
2008-01-19 20:30:58 +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
laurent
014a458c83 Change TGridColumnTitle.Caption: String to TCaption
git-svn-id: trunk@13789 -
2008-01-18 23:05:06 +00:00
jesus
8c6f42cbe0 LCL, grids, additional fix resizing columns, area not fully invalidated
git-svn-id: trunk@13325 -
2007-12-14 02:28:02 +00:00
jesus
34b575a4a9 LCL, grids, fixed right side border when incresing column size, issue# 10401
git-svn-id: trunk@13322 -
2007-12-13 22:12:58 +00:00
paul
2e413c5941 use obj.Reference.Handle instead of obj.Handle in lcl since obj.Handle is deprecated now (for converted gdi objects)
git-svn-id: trunk@13307 -
2007-12-13 02:01:24 +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
3c8fead5c5 LCL, grids, fixed AV when (db)grid is on a TNotebook or TPageControl page, issue #9871
git-svn-id: trunk@12362 -
2007-10-07 19:15:45 +00:00
jesus
1e240ab866 LCL, grids, ColumnChanged made virtual
git-svn-id: trunk@12301 -
2007-10-03 06:25:49 +00:00
jesus
eed0018de7 LCL, grids, fixed last column autosize, issue #9774
git-svn-id: trunk@12192 -
2007-09-27 04:56:57 +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
1ef0491d4b LCL, grids, fixed storing of SizePriority when value is set to 0, issue #9774
git-svn-id: trunk@12179 -
2007-09-25 20:57:08 +00:00
jesus
43581bc92a LCL, grids added checks for not invalidating if handle is not allocated, issue #9765
git-svn-id: trunk@12169 -
2007-09-24 22:59:26 +00:00
jesus
3bffb8c4b4 LCL, stringgrid, fixed memleak when getting Cols/Rows, issue #9643
git-svn-id: trunk@12152 -
2007-09-24 05:55:59 +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
0d8dc105d4 LCL, grids, corrected initial value of BorderStyle property
git-svn-id: trunk@11893 -
2007-08-30 22:34:40 +00:00
jesus
ee74499bcf LCL, grids, fixes incomplete border drawing when flat=true
git-svn-id: trunk@11889 -
2007-08-30 20:43:37 +00:00
jesus
2e11b676e5 LCL, grids, fixes vert scrollbar don't show in newly dropped stringgrid, also grid.borderstyle can't change for flat=true issue #9550
git-svn-id: trunk@11887 -
2007-08-30 19:25:54 +00:00
jesus
622ba85b38 LCL, grids implemented TStringGridStrings from Luis Rodrigues, issue #9492
git-svn-id: trunk@11877 -
2007-08-28 21:14:22 +00:00
jesus
b1e1da7dff LCL, reworked handling of clientarea in grids. Fixes issue #1085
git-svn-id: trunk@11866 -
2007-08-26 23:21:13 +00:00
jesus
d5c517fad0 LCL, grids: added gdSelected in addition to gdfocused, issue #9493
git-svn-id: trunk@11860 -
2007-08-25 01:34:54 +00:00
jesus
86b7670b28 LCL, grids, fixes editor visible when grid is fixed
git-svn-id: trunk@11819 -
2007-08-15 00:39:54 +00:00