IKnobMultiControl with text field
I want to make a class which is a small box showing a value and which when dragged the value changes. I thought for this an IKnobMultiControl with rendered bitmaps of all the values needed would do the job without making a derived class.
I would like to have a text label for it built in that gets set in the constructor and is always adjacent to the value box with chosen alignment.
Best approach?
I'm thinking I would derive from IKnobMultiControl and add an ITextControl as a member to the new class. Does this makes sense or is there a better way? I'd like to have it that if the text label itself is dragged the value changes in the box (not just dragging the target area of the bitmap).
Thanks
|