Recent

Author Topic: Application.ProcessMessages  (Read 978 times)

carlosnatal

  • Newbie
  • Posts: 3
Application.ProcessMessages
« on: July 01, 2024, 11:53:37 am »
Application.ProcessMessages: how this routine interferes with the bitmap canvas?
The previous drawing disappears on the bitmap canvas. Why?

cdbc

  • Hero Member
  • *****
  • Posts: 2726
    • http://www.cdbc.dk
Re: Application.ProcessMessages
« Reply #1 on: July 01, 2024, 12:28:41 pm »
Hi
You don't do your drawing in the 'OnPaint' handle / method
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

 

TinyPortal © 2005-2018