I'd like a scrollbar along the bottom of a graph, however I'd like the width
of the slider within the control to be representative of the width of the
visible graph within the entire data set. Pretty standard thing to do.
I can't find a property of the standard slider control that will allow me to
set the width of the slider itself- all I can find are functions to set the
width of the control.
I've tried the ActiveX route, however the "MS Forms Scrollbar" works only in
integers, and although it can be set so that the width of the slider is
representative of the data range, if the data range of the control is small
enough for the size variations to be visible (in my tests 0-5) then due to
the integer data you have to move the slider a considerable
distance before
the value jumps by 1; I want a smooth progression, not sudden jumping of the
graph.
I can't believe I have to write my own implementations of vertical and
horizontal scrollbars using picture controls. Does anyone have a better
solution to this? I surprised there doesn't seem a way of programmatically
changing the standard slider size- am I missing something?
--
Craig Graham
Physicist/Labview Programmer
Lancaster University, UK