Commit Graph

106 Commits

Author SHA1 Message Date
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
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
paul
ace2f932cb lcl: set ListView properties before item creation to correctly initialize it - for example notify listview that items will have checkboxes (bug #0013050)
git-svn-id: trunk@18467 -
2009-01-28 01:25:06 +00:00
paul
a21dad9e56 lcl: return TListView.SelCount even if Handle is not allocated (bug #0011057)
git-svn-id: trunk@18404 -
2009-01-24 10:12:43 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
709cbabbdb debugger: delete all selected watches, not only first selected
git-svn-id: trunk@15324 -
2008-06-06 01:08:49 +00:00
paul
1142175130 dont start drag immediately for TListView (this is Delphi compatible)
git-svn-id: trunk@13385 -
2007-12-19 07:45:22 +00:00
paul
2fd7c8ce17 protect customlistview from nil focused
git-svn-id: trunk@13373 -
2007-12-18 10:44:34 +00:00
paul
2611c3b386 lcl: reduce amount of hints and warnings from fpc
git-svn-id: trunk@13335 -
2007-12-15 06:39:19 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
paul
8c2198629f - fix hang (on exit) of projects contains listview with assigned more than 1 imagelist (and hang on lazarus itself) (from Nikolay) issue #9609
git-svn-id: trunk@11975 -
2007-09-09 09:33:16 +00:00
paul
ddfc237f5c LCL:
- dont call WS class methods in listview.loaded if handle is not  allocated yet

git-svn-id: trunk@11941 -
2007-09-05 03:05:43 +00:00
vincents
99f0cddd30 lcl: added ListView.Tooltips property, implemented for win32 widgetset (bug #9136)
git-svn-id: trunk@11823 -
2007-08-15 18:13:43 +00:00
marc
57d06e746d * Patch from Yury Sidorov for clearing a listview selection
git-svn-id: trunk@10678 -
2007-02-24 17:04:23 +00:00
mattias
66c4a28b49 IDE: message window: replaced TListBox with TTreeView, LCL: TTreeView: fixed normal left click selection with multiselections
git-svn-id: trunk@10484 -
2007-01-21 12:16:13 +00:00
marc
466edbbd14 * Fixed bug #1854
git-svn-id: trunk@10481 -
2007-01-20 02:19:19 +00:00
marc
3140af0ad5 * made listview customdraw Delphi compatible
* moved listview customdraw parts from interface to lcl

git-svn-id: trunk@9812 -
2006-09-04 21:39:47 +00:00
marc
352eaa11ed * made naming more consistent. Intfxxx methods are called by the interface, WSxxx methods call the interface
git-svn-id: trunk@9785 -
2006-09-02 16:21:55 +00:00
marc
d05adb23c1 * modified customdraw listview patch from BeniBela
git-svn-id: trunk@9770 -
2006-08-29 23:33:15 +00:00
mattias
1af44f9fb0 improved laz_xmlcfg.TXmlConfig to delete unused parent nodes
git-svn-id: trunk@9633 -
2006-07-19 09:54:40 +00:00
micha
f3362d6929 mouse capture unwantedly prevents mouse events to other controls (issue #1797 note)
git-svn-id: trunk@9549 -
2006-07-03 15:25:20 +00:00
jesus
3d36c2396e fixed restoring listview columns at design time, issue #6962
git-svn-id: trunk@9352 -
2006-05-25 07:32:48 +00:00