We have a requirement for a unique slider bar (sort of like a control) that users can directly manipulate. I'd like to use GoDiagram to do this because my experience with it has been excellent so far. My question is, given the below properties, would it be easier to try to hijack an existing GoInstrument object, or build this thing from scratch?
The first important tidbit about this bar is that it is used to view a range. So, there is a slider that is either fixed or variable width that moves along a bar. The slider is limited by the bar extents. The user can of course drag this slider using the mouse.
The slider may be resized by dragging little teeth that sit on the edges (like arrows pointing down). This changes the width of the slider and thus the range the slider represents. When the slider is dragged again this new fixed width is used.
The teeth may be double-clicked to anchor the slider to the left or the right (depending on which of the teeth are clicked). When this happens, drag actions on the slider cause the width itself to change such that the unanchored side moves to the mouse. When a tooth is anchored, it "pushes in" to the slider, changes color.
We'd also like to be able to write dynamically updating text above the teeth, and at the extents of the bar the slider slides on. And, it would be great if the slider was a transparent gradient of some sort.
So, with these things in mind, should we just start hammering away at building our own widget?