Returning to the top of the inventory when the box is opened...

Started by De-Communizer, Mon 07/09/2009 17:43:13

Previous topic - Next topic

De-Communizer

Not sure if it's possible, or I'll have to manage as is, but I've got a custom inventory GUI. It's going to have a lot of items in it, but at the moment every time it opens, it's at the same position (i.e. the inventory window is showing the same objects) as when the window was closed. Is it therefore possible for me to return the view to the top every time the window is opened?

NsMn

Maybe your Inventory Window is just to small and you have to scroll it down?

...can we see a screenshot?  ;)

skuttleman


De-Communizer

Ah, so it *is* the TopItem thing - I thought that was just a read-only thing to produce an output demonstrating what the top one was. Many thanks!

Khris

From the manual:

Gets/sets the index of the first item currently displayed in the inventory window.

SMF spam blocked by CleanTalk