View Issue Details

IDProjectCategoryView StatusLast Update
0006037JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
Reportertrident_jobAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.47 
Target VersionFixed in Version3.48 
Summary0006037: Writing to TJvListview.ItemIndex act differently from TListview
DescriptionWhen trying to assign a value to JvListView.ItemIndex, the first item in the list is always selected, not the index assigned to ItemIndex property !

This feature works perfectly with the VCL TListview component.

Additional InformationContext:
JVCL v3.47 (JVCL347CompleteJCL241-Build4571)
Delphi XE
Windows XP
TagsNo tags attached.

Activities

2012-11-28 15:19

 

JVCL0006037-JvTreeview_ItemIndex.7z (662,867 bytes)

trident_job

2012-11-28 15:21

reporter   ~0020308

Added a DelphiXE project to reproduce the issue.

There is a timer that clear the content of the JvListView, add items, and restore the previously selected item.
It doeasn't work as expected as the selection is always the first item in the list (index 0).

It works perfectly with the standard vcl TListview, and you can verify this is the example, I've implemented the two component.

AHUser

2013-05-25 16:32

developer   ~0020515

Fixed in svn revision 13526.

Issue History

Date Modified Username Field Change
2012-11-28 15:15 trident_job New Issue
2012-11-28 15:19 trident_job File Added: JVCL0006037-JvTreeview_ItemIndex.7z
2012-11-28 15:21 trident_job Note Added: 0020308
2013-01-15 16:00 obones Status new => acknowledged
2013-05-25 16:32 AHUser Note Added: 0020515
2013-05-25 16:32 AHUser Status acknowledged => resolved
2013-05-25 16:32 AHUser Fixed in Version => Daily / SVN
2013-05-25 16:32 AHUser Resolution open => fixed
2013-05-25 16:32 AHUser Assigned To => AHUser
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48