Posted by: Matthias Schoelzel
Hello,
I have a Problem with the Scrollbar, automatically created in a form window,
made with CTD 2.1 (TD 2005 has the same problem). On the form window I
create a lot of panel windows with SalCreateWindowEx(...). When I've created
a new Panel, I move down a dummy picture object on the window for a distance
that is even to the height of the new panel. So I get a vertical scroll bar
on the right of my form window. The problem is, that, when I have created a
number of panels, the vertical scroll bar on the right disapears and further
I cannot scroll down.
What can be the reason and how can I solve this problem?
In the attachmend resides an application, hat has a similar problem. A
custom control creates a window with SalCreateWindowEx(...) which I can
increase step-by -step with a push button click. When the created window
reaches the borders of the visible range of the parent window scroll bars
appears. But when the Height of the new window reaches approximately 32 form
units, the scroll bars disappears.
This sample already was attached before from Vishwa to the development
forum, but it is not the solution of the above problem.
Thanks for recommendations
Matthias Schoelzel
EDV Studio ALINA GmbH
Bad Oeynhausen
Germany