I attached zipped contents of three folders. Two with projects and third with resources for the projects. There are one bitmap and three icons.
Those projects were tested on Windows XP and Windows 7 Professional, Delphi 2006 and Delphi XE3. Compile and run the project from first folder named “bad”. Run and … resize the window.
In the second, named “good”, I added the JvScrollbox.pas. Modified. A little.