View Issue Details

IDProjectCategoryView StatusLast Update
0003308JEDI VCL00 JVCL Componentspublic2005-11-22 05:20
ReporterDeathMADAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.10 
Summary0003308: Design Editor for TJvImageList produce design-time error - "Invalid typecast"
DescriptionCode in file JvDsgnEditors

procedure TJvImageListEditor.ExecuteVerb(Index: Integer);
  if Designer <> nil then
    case Index of
        if EditImageList(Component as TImageList) then //---error, TJvImageList
                                                       //inherits from
                                                       //TCustomImageList, but
                                                       // not from TImageList

Solution - "if EditImageList(TImageList(Component)) then"
But that is ugly IMHO.
TagsNo tags attached.



2005-11-22 05:20

developer   ~0008115

Fixed in CVS.

The hard typecast should be OK, because the VCL's TCustomImageList editor is also the normal TImageList editor.

Issue History

Date Modified Username Field Change
2005-11-10 00:45 DeathMAD New Issue
2005-11-22 05:20 AHUser Status new => resolved
2005-11-22 05:20 AHUser Resolution open => fixed
2005-11-22 05:20 AHUser Assigned To => AHUser
2005-11-22 05:20 AHUser Note Added: 0008115