I have MaxGUI but want to program my own for a full screen game. Ahhh!!!! I'm trying to visualise the code but I can't. It's really frustrating when this happens.
So, when I'm at 25% scroll the data will be scrolled by 125 pixels. Riiiiight. I'm with it. So how do I translate this into a scroll button like the ones you hold down and move up and down?
local data_height = 500 local scrollbar_height = 120 local value# = 25.0 ' % local scroll_value#=(data_height/100.0) * value ' = (500.0/100.0) * 25 = 125 ' So... local scrollButtonY = ... not sure
So, when I'm at 25% scroll the data will be scrolled by 125 pixels. Riiiiight. I'm with it. So how do I translate this into a scroll button like the ones you hold down and move up and down?