i pretty new in delphi xe7, got project , tried build it, gives error like undeclared identifier 'images' in line.. (tcontainedaction(action).actionlist.images.draw(acanvas, glyphrect.left, glyphrect.top) and tcontainedaction not contain member named 'image'. please me resolve issues. the error simple enough understand. no variable or member defined in scope code searching. undeclared identifier 'images' tcontainedaction.actionlist of type tcontainedactionlist . , tcontainedactionlist has no member named images . hence error. you need up-cast tcontainedactionlist reference of type has member looking for. don't know type because can't see of code other in question. perhaps cast tactionlist suffice. you playing fire using unchecked casts. use runtime checked casts instead find out if got wrong. uses system.actions, vcl.actnlist; .... var actionlist: tactionlist; .... actionlist := (action tcontainedact...
Comments
Post a Comment