Ok, so I have an inventory with working ScrollUp and ScrollDown arrows. There's just one problem. If I select an inventory item from the first row of items and try to click myself downwards with my InvDown button the item gets deselected. That means that I can't use an inventory item from row 1 on an inventory item on row 4.
I tried to look this up, but I could't find the answer anywhere. This is my code:
Code: ags
I tried to look this up, but I could't find the answer anywhere. This is my code:
function btnInvUp_Click(GUICONTROL *control, Mousebutton button) {
InvCustomInv.ScrollUp();
}