Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Currently selected item in inventory  (Read 2899 times)

0 Members and 1 Guest are viewing this topic.

Art

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 54
    • View Profile
Currently selected item in inventory
« on: December 18, 2005, 07:08:04 PM »

Hi.

Is there any way to get index of the item, which is first in inventory box right now?
I'd like to hide prev and next buttons from inventory box, when it's not possible to scroll more left or right.

Thanks in advance..
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Currently selected item in inventory
« Reply #1 on: December 19, 2005, 01:28:30 PM »

No, you can't query the scroll offset. But since the buttons are disabled automatically, you can assign them an empty "disabled" image, which should simulate the effect you want to achieve.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Art

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 54
    • View Profile
Re: Currently selected item in inventory
« Reply #2 on: December 19, 2005, 03:26:01 PM »

Right :) Thanks Mneminic
Logged
 

Page created in 0.018 seconds with 19 queries.