ClientWidth in TDrawGrid is first equal to Width and later to "real" ClientWidth
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
On start of an application with a TDrawGrid (ScrollBars=ssVertical) the grid's ClientWidth is equal to its Width (in attached example 224 pixels). When I change ScrollBars property to ssNone the ClientWidth is set to a different width (220). Activating the vertical scrollbar (ScrollBars=ssVertical) again, results in the width of the real client area (203).
I believe ClientHeight will behave the same way.
Additional information:
I only checked this on Win32 so far. In WinCE I have to face another bug with scrollbar visibility ^^
Mantis conversion info:
- Mantis ID: 14546
- Version: 0.9.26.3 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Target version: 0.99.0
- LazTarget: 1.0