Dear Palli,
Sure, you are approaching the point.
To make clear, I have sent another sample with a picture to show you the case.
In a nutshell, it fails to get a correct HeaderedPanel.ClientSize.Height, which is just the area most programmers play on.
BR
River