19-10-2008, 01:29 PM
Can someone do me a favor and explain to me the below code? I noticed that while trying to place items on the map it would not let me scroll past item 3, and after deleting this line, it let me scroll up to the max for the scrollbar (255, default setting)
I do not know much about programming yet, but as far as I can see, this is setting the max of the scroll bar to "something involving a picture or the height of something"? I'm not sure what this line does or how to get it to let me select more than the 3 items, except for deleting this line.
Code:
scrlItem.Max = (DDSD_Item.lHeight \ PIC_Y) - 1
I do not know much about programming yet, but as far as I can see, this is setting the max of the scroll bar to "something involving a picture or the height of something"? I'm not sure what this line does or how to get it to let me select more than the 3 items, except for deleting this line.