[Lazarus] Gtk2 log "Refused invalidating during paint msg": how to check

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 1 17:41:53 CEST 2017


On Sun, 30 Apr 2017 18:59:17 +0300
Alexey via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> How can I check that im inside Paint code?
> 
> Maybe come control flag, or something, exists.

if csCustomPaint in ControlState then

Mattias


More information about the Lazarus mailing list