What about TControlCanvas? Isn't it still around?
Eddie Shipman wrote:
Panel does not have a Bitmap property now does it?
--- websmith <[EMAIL PROTECTED]> wrote:
i'd coded per your tips but got runtime exception error as :-
the exe has raised exception class EInvalidGraphicOperation with message
'Invalid canvas state request'.
so what do you think is happening ???
ciao
----- Original Message -----
From: "Eddie Shipman" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Monday, June 20, 2005 10:26 AM
Subject: Re: how to draw onto Panel's canvas
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
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi