View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003308 | JEDI VCL | 00 JVCL Components | public | 2005-11-10 00:45 | 2005-11-22 05:20 |
Reporter | DeathMAD | Assigned To | AHUser | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003308: Design Editor for TJvImageList produce design-time error - "Invalid typecast" | ||||
Description | Code in file JvDsgnEditors procedure TJvImageListEditor.ExecuteVerb(Index: Integer); begin if Designer <> nil then case Index of 0: if EditImageList(Component as TImageList) then //---error, TJvImageList //inherits from //TCustomImageList, but // not from TImageList Designer.Modified; 1: SaveAsBitmap(TImageList(Component)); end; end; Solution - "if EditImageList(TImageList(Component)) then" But that is ugly IMHO. | ||||
Tags | No tags attached. | ||||