Scrollbargadget EventType? [Resolved]
Posted: Mon Dec 26, 2016 5:08 am
Just hit a small problem.
Scrolling a grid on a canvas gadget that has variable column widths and variable row heights which means that there are a variable number of columns and or rows on any "Page" displayed.
This means that having an arbitrary number for the page setting on a scroll bar leads to some scrolling confusion in this case.
To get over this would it be possible to have some scrollbar EventTypes?
I think the whole list would be
Small Positive Change
Large Positive Change
Small Negative Change
Large Negative Change
These would allow the programmer to ignore the value of the gadget and scroll meaningfully dependant upon the application. Of course the normal change and value still need to be kept as in most situations there a more than adequate.
Regards
cd
Scrolling a grid on a canvas gadget that has variable column widths and variable row heights which means that there are a variable number of columns and or rows on any "Page" displayed.
This means that having an arbitrary number for the page setting on a scroll bar leads to some scrolling confusion in this case.
To get over this would it be possible to have some scrollbar EventTypes?
I think the whole list would be
Small Positive Change
Large Positive Change
Small Negative Change
Large Negative Change
These would allow the programmer to ignore the value of the gadget and scroll meaningfully dependant upon the application. Of course the normal change and value still need to be kept as in most situations there a more than adequate.
Regards
cd