Am Donnerstag, den 01.11.2007, 13:59 +0100 schrieb Mattias Gaertner:
> On Thu, 01 Nov 2007 14:23:59 +0200
> Albert Zeyer <[EMAIL PROTECTED]> wrote:
>
> > On the console, I get all the time: (also when I do nothing)
> > [DBGTGT]
> > NOTE: TGtkWidgetSet.InvalidateRect during paint message: TMainForm
>
> This normally indicates, that you have a bug in your OnPaint code. Only
> paint in the OnPaint event. Do not change properties or resize, move,
> delete or create controls.
>
I stepped through the code and I figured out that I get the message
exactly at this point:
GamePanel.Canvas.Draw(0,0,MyRoomPic.Picture);
GamePanel is a TImage and MyRoomPic.Picture is a TBitmap.
So, is the code wrong? How should I draw otherwise the TBitmap on the
TImage?
--
Albert
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives