juha
b3b28cb94d
LCL: Set TCustomListView.SortColumn default to -1, improve range checks
...
git-svn-id: trunk@38287 -
2012-08-20 17:58:56 +00:00
juha
8ac37f9f1e
LCL: formatting
...
git-svn-id: trunk@37954 -
2012-07-15 19:44:40 +00:00
zeljko
59834c98ec
LCL: TCustomListView: reset FCacheIndex and FCacheItems before sorting list, otherwise we'll have unexpected results. issue #22218
...
git-svn-id: trunk@37564 -
2012-06-07 11:53:27 +00:00
paul
ecc2d0a144
lcl: add an ability to use own TListItems and TListItem descendant classes for compatibility with delphi (issue #0021758 )
...
git-svn-id: trunk@36812 -
2012-04-16 07:29:35 +00:00
zeljko
1e2b5b21f7
LCL: TListView update FSelectedIdx in multiselect mode too. issue #21389
...
git-svn-id: trunk@35614 -
2012-02-28 19:11:20 +00:00
zeljko
e222b242b6
LCL: TListView.OwnerData: fixed behaviour of ItemIndex when multiselection is enabled. issue #19825
...
git-svn-id: trunk@35597 -
2012-02-26 15:44:48 +00:00
zeljko
bd60e4f5de
LCL: TCustomListView added TCustomListViewEditor class to implement OnEditing and OnEdited events in pure LCL. issue #12059 .
...
win32: mark listview as readonly to ws always since we are using LCL implementation for listview editing (TCustomListViewEditor).
git-svn-id: trunk@35354 -
2012-02-13 11:45:13 +00:00
zeljko
353087a643
LCL: TCustomListView: allow to change ItemIndex in OwnerData mode. issue #19825
...
git-svn-id: trunk@35264 -
2012-02-09 11:37:10 +00:00
zeljko
403ef1bfd2
LCL: TCustomListView added TLVDataHintEvent and TLVDataStateChangeEvent, also published OnDataHint and OnDataStateChange for TListView for delphi compatibility.
...
git-svn-id: trunk@35258 -
2012-02-09 08:11:15 +00:00
zeljko
a83c4d7f3f
LCL: cleanup
...
git-svn-id: trunk@35214 -
2012-02-07 11:35:04 +00:00
zeljko
c8fa2b4962
LCL: TListView added property AutoWidthLastColumn to fit last column into width of TListView. issue #19309
...
git-svn-id: trunk@35170 -
2012-02-06 07:52:57 +00:00
juha
a0912487d5
LCL: Add and move some properties to be skipped by form loader.
...
git-svn-id: trunk@34798 -
2012-01-19 16:32:56 +00:00
juha
a002250d2b
LCL: add Notification about removed ImageLists in ListView. Issue #20619
...
git-svn-id: trunk@33594 -
2011-11-17 18:57:22 +00:00
zeljko
319d2fbb8f
LCL: TListView fixed Delphi compatibility for Selected property when MultiSelect is enabled.issue #16773
...
git-svn-id: trunk@33128 -
2011-10-28 07:04:45 +00:00
juha
464fffb72b
LCL: Register property TListItem.OverlayIndex to be skipped by form loader. Issue #20295 .
...
git-svn-id: trunk@32418 -
2011-09-19 07:43:53 +00:00
juha
7e8d161edb
LCL: Register some properties to skip for Delphi compatibility.
...
git-svn-id: trunk@32389 -
2011-09-17 16:32:48 +00:00
zeljko
31a93e1b6e
LCL: added Delphi compatibile function TCustomListView.FindData(StartIndex: Integer; Value: Pointer; Inclusive, Wrap: Boolean): TListItem;
...
git-svn-id: trunk@31480 -
2011-06-30 15:11:09 +00:00
zeljko
52b49db5d6
LCL: implemented Delphi compatibility function TCustomListView.AlphaSort: Boolean.
...
git-svn-id: trunk@31477 -
2011-06-30 12:45:50 +00:00
zeljko
3b3f7703dd
LCL: TCustomListView: preserve selections when sorting items. issue #18716
...
git-svn-id: trunk@31462 -
2011-06-29 21:18:08 +00:00
zeljko
84d29ef869
LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
...
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().
git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
cd32bf59f0
LCL: preserve selection when moving items. Return cached checked item when moving items.
...
Win32: simplified LVItem assigning in case of exchange and move, fixed bugs
git-svn-id: trunk@31373 -
2011-06-25 08:31:57 +00:00
zeljko
8bdf87abed
LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
...
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
dmitry
a32a3ef4ca
listview: fixes for improper OwnerDataListItem.Owner. #18961
...
git-svn-id: trunk@30832 -
2011-05-21 03:56:27 +00:00
dmitry
3a15275dd9
lcl: fix listview items ownerdata items update for Repaint method. fixes #18546 , #16970
...
git-svn-id: trunk@29670 -
2011-02-26 04:41:27 +00:00
dmitry
90a7d1e94e
lcl: split listitems to ownerdatalistitems. fix #16069
...
git-svn-id: trunk@29669 -
2011-02-26 04:04:14 +00:00
vincents
91890786fe
lcl: fixed TListView.SelectedIdx after clearing listview (issue #17476 )
...
patch by Dibo
git-svn-id: trunk@28337 -
2010-11-19 08:30:03 +00:00
paul
d3bb952456
lcl: forgot to change TListView color to clDefault
...
git-svn-id: trunk@28144 -
2010-11-08 03:43:27 +00:00
zeljko
612440d648
LCL: TCustomListView: implemented OnItemChecked. fixes #17042
...
git-svn-id: trunk@27975 -
2010-10-30 12:51:58 +00:00
jesus
321f8af932
LCL, fix loading of project created in Lazarus revisions previous to r27800 #3fd96fa189 and that use listview (including Lazarus itself)
...
git-svn-id: trunk@27801 -
2010-10-21 20:19:02 +00:00
paul
f20f3aa1ef
lcl: add public property TCustomListView.ColumnCount,
...
win32: don't access listview columns array out of it bounds (issue #0017263 )
git-svn-id: trunk@27199 -
2010-08-26 16:39:45 +00:00
blikblum
69b2b72516
lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
...
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
paul
2c127c9897
win32: fix TListView.Autosize by Bernd Kreuss (issue #0017141 )
...
git-svn-id: trunk@27046 -
2010-08-10 02:07:48 +00:00
dmitry
8bcd50e4b8
lcl: fix for OwnerData selected item, #16833
...
git-svn-id: trunk@26440 -
2010-07-03 10:52:31 +00:00
dmitry
fae2b3c5ec
lcl: fix for ownerdata list view selection bug #16437
...
git-svn-id: trunk@25306 -
2010-05-10 19:08:27 +00:00
paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
448b7689cf
lcl: clean listview items flag on handle destruction
...
git-svn-id: trunk@24691 -
2010-04-18 08:46:29 +00:00
paul
2dfb22d93e
lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading
...
git-svn-id: trunk@24327 -
2010-04-01 00:49:45 +00:00
paul
9781e6db98
lcl: invalidate selection of OwnerData listview after changing items count + formatting
...
git-svn-id: trunk@23960 -
2010-03-12 03:30:32 +00:00
paul
c6c63ccae9
lcl: fix ownerdata listview notifications
...
git-svn-id: trunk@23909 -
2010-03-10 02:54:12 +00:00
dmitry
9ae2f80938
carbon: fix for #14759
...
git-svn-id: trunk@23725 -
2010-02-17 09:10:03 +00:00
dmitry
11f880e78a
lcl: setting items state on listview handle creation
...
git-svn-id: trunk@23724 -
2010-02-17 06:51:12 +00:00
paul
3319ecca5b
lcl: add GetOwner to some TPersistent descendants
...
git-svn-id: trunk@23237 -
2009-12-23 08:48:01 +00:00
andrew
b88059e19b
Fixed bug #10622 where Listview.ItemIndex did not exist
...
git-svn-id: trunk@22909 -
2009-12-01 23:49:24 +00:00
paul
bbdc3ac65d
lcl: set default size for TCustomTreeView, TCustomListView
...
git-svn-id: trunk@22719 -
2009-11-23 08:31:31 +00:00
paul
5b9bce5f38
lcl: apply patch of Boian Mitov to support listview state images and HitTestInfo under win32 (issue #0014881 )
...
git-svn-id: trunk@22310 -
2009-10-28 09:41:02 +00:00
paul
833166cbd0
lcl: allow ItemChanged event for OwnerData listview
...
git-svn-id: trunk@22284 -
2009-10-26 07:17:16 +00:00
paul
4a0461a558
lcl: ListView:
...
- add TIconOptions
- win32 implement support for different IconOptions (issue #0014460 )
git-svn-id: trunk@21546 -
2009-09-03 02:48:41 +00:00
paul
1abb99e5fd
lcl: fix memory leak in the new TListView code
...
git-svn-id: trunk@21525 -
2009-09-01 16:59:09 +00:00
paul
ae65b07221
lcl, win32, carbon: initial implementation of virtual TListView by Dmitry (issue #0007749 )
...
git-svn-id: trunk@21524 -
2009-09-01 16:44:31 +00:00
paul
6af0fb9bc9
lcl: fix asterisk position in the copyright comment
...
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00