View Issue Details

IDProjectCategoryView StatusLast Update
0002499JEDI VCL00 JVCL Componentspublic2005-01-13 10:24
ReporterbsonninoAssigned Touser72 
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 
Summary0002499: JvRegistryTreeview doesn't work well when a key has null subkeys (JVCL RC1)
DescriptionWhen a key has null subkeys (the key is there, but its name is null), JVRegistryTreeView doesn't handle them, showing an infinite tree. An example in my machine is

Regedit puts a 4 number digit for these keys
Additional InformationI got this fixed adding these two lines in line 340 of JvRegistryTreeview.pas, in procedure GetSubKeys

if AStrings[i] = '' then
  AStrings[i] := Format('%.04d',[i]);

This fixes the problem and shows the treeview like Regedit (it also gets the keys fine).
TagsNo tags attached.



2005-01-13 10:24


Very good catch! Fixed in CVS

Issue History

Date Modified Username Field Change
2005-01-13 05:03 bsonnino New Issue
2005-01-13 10:24 user72 Status new => resolved
2005-01-13 10:24 user72 Resolution open => fixed
2005-01-13 10:24 user72 Assigned To => user72
2005-01-13 10:24 user72 Note Added: 0006132