Page 1 of 1

Help needed in Scrolling LeftAxis via TScrollbar

Posted: Wed Nov 03, 2004 12:20 pm
by 9339637
Hello,

please is anybody able to give me a detailed example, to setup and run a standard delphi TScrollbar component, therefor I am able to scroll my gantt chart vertically? I don't understand how to setup the values for min/max/pos in relation to the min/max/position of the left axis.

And how can I calculate the amount of visible items in a chart, depending on the height of the chart and the height of the items (Labelsize and Multiline) and the offsets of the left axis?

Tia Obelix
:(