Flicker when changing active TabSheet in TPageControl
Original Reporter info from Mantis: BrunoK
-
Reporter name:
Original Reporter info from Mantis: BrunoK
- Reporter name:
Description:
Flicker when changing active TabSheet in TPageControl
Steps to reproduce:
https://forum.lazarus.freepascal.org/index.php/topic,50042.msg364418.html#msg364418
GetMem's tmp4_noflicker.zip without call to LockWindowUpdate.
Additional information:
It seems that when a tab becomes inactive due to activating an other tab on the TPageControl, an erase WM_BACKGROUND is sent for the deactivated Tab and this briefly paints to the screen its area with a default clear colour before it is replaced with the new selected tab contents which may take some time to draw. (a visually detectable time).
First time seen when testing issue 33923.
Mantis conversion info:
- Mantis ID: 37161
- OS: Windows
- OS Build: 10
- Build: 63222
- Platform: Win32
- Version: 2.0.9 (SVN)
- Fixed in version: 2.2
- Fixed in revision: 63261 (#e6702de3)
- Monitored by: » @martin_frb (Martin Friebe)
- Target version: 2.2