Working on a @picwin listbox with scrollbar but having issues. How do I reverse this equation?(if it's correct at all)
F = First Item to display
T = Total items available for display(-25 to account for the current items displayed. Divided by the amount of pixels the thumb of the scrollbar can move)
S = Current Scrollbar Thumb Pos(-64 to account for the scrollbar not being at the top of the @picwin)
F = (T - 25) / 308 * (S - 64)
T = F / (S - 64) * 308 + 25
S = ?
Last edited by FroggieDaFrog; 18/04/10 03:55 PM.