You have to expose the panel's canvas, it is a protected property: type tmypanel = class(TPanel) end;
TMyPanel(Form1.Panel1).Bitmap.Canvas.Ellipse( x, y, ellipse_size, ellipse_size); --- websmith <[EMAIL PROTECTED]> wrote: > allo, > > as all the properties of drawing is there in the Panel, but runtime error > occurred if drawing is applied. see code as follows :- > > Form1.Panel1.Bitmap.Canvas.Ellipse( x, y, ellipse_size, ellipse_size); > > what's the advise. > > thanks. > > > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

