On 2016-10-10 11:11, Mattias Gaertner via Lazarus wrote:
> Draw to a bitmap and in OnPaint draw that. Similar to a TImage.
> Then you can also use aggpas.

Incidently, that is how fpGUI's latest 'develop' branch overcomes the
painting outside the Paint method problems. Seeing as AggPas is used as
the internal buffer, it doesn't matter when painting calls happen. The
actual Paint() method simply bitblt's the AggPas buffer to the real
window canvas.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to