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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Free Pascal - Lazarus mailing list
How can I check that im inside Paint code?

Maybe come control flag, or something, exists.


--
Regards,
Alexey

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Free Pascal - Lazarus mailing list
On Sun, 30 Apr 2017 18:59:17 +0300
Alexey via Lazarus <[hidden email]> wrote:

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

if csCustomPaint in ControlState then

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Loading...