swas said:
The problem as I see it is though, that it is only the current record that
has the position set. All other records sliders will jump to the same
position as an unbound control.
I'm only trying to get the visual effect of multiple slider positions.
Classes and are new for me, so I am trying to explore my logic before trying
to actually trial.
That is the problem doing this kind of thing. The slider,
however you do it, is just a single control so there is only
one set of properties (value, color, width, etc) that you
can manipulate. To get it to display differently on
different rows in a continuous form, it must be bound to one
or more record source fields.
The way I have done something like that (ghantt chart) is to
use a text box with an expression like:
=String(positionfield, "I")
That will display the letter I the number of times in each
record's position field.
To make that look more like a bar, you need to use a font
that displays a solid block instead of a letter. There is a
public domain font designed to do just that job at:
http://www.mvps.org/access/forms/frm0055.htm
I have not tried to make a mouse dragable slider out of that
but it sounds like you have so it should work.