flyinian
Member
I believe I have narrowed one of my issues down to the below line of code.
I am making a scroll system and got help to get the scroll wheel to work(it broke the click on scroll bar but, ill deal with that later). The items in the scroll menu wont scroll when I use the mouse wheel(but the slider will scroll). The items in the scroll menu will scroll if I click and drag.
I believe I need to add obj_scrollbar.percentage in the below line of code for it to scroll the items that are in the scroll menu.
Is there a way to write the below line of code that will change and update both the obj_slider.percentage and obj_sliderbar.percentage simultaneously? The percentage variables do the same things but, used in two different objects if that makes any difference.
I don't think you'll need any other code but, if you do let me know.
Thanks.
I am making a scroll system and got help to get the scroll wheel to work(it broke the click on scroll bar but, ill deal with that later). The items in the scroll menu wont scroll when I use the mouse wheel(but the slider will scroll). The items in the scroll menu will scroll if I click and drag.
I believe I need to add obj_scrollbar.percentage in the below line of code for it to scroll the items that are in the scroll menu.
Is there a way to write the below line of code that will change and update both the obj_slider.percentage and obj_sliderbar.percentage simultaneously? The percentage variables do the same things but, used in two different objects if that makes any difference.
y = ystart + ((global.areaHeight/100 * obj_slider.percentage) - global.areaHeight);
I don't think you'll need any other code but, if you do let me know.
Thanks.