ShiVa3D
list.setSelectedItem
You need some features? ask it to us here!list.setSelectedItem
by dpharaoh » 22 May 2009, 15:30
It would be Awesome to be able to set an item to be selected already in a listbox (along with a boolean to ignore the onSet event). This would be used in various options screens to show the user what is already currently selected.
Join the Shiva IRC Chat! irc.shivaplace.com:6669 or irc.shivaplace.com:16669
Or, use the Java chat client: http://www.shivaplace.com/irc
Or, use the Java chat client: http://www.shivaplace.com/irc
Re:list.setSelectedItem
by NiCoX » 22 May 2009, 17:14
Hi,
You have hud.selectListItemAt :)
(quite sure it is in 1.7, but if not it will be in 1.8)
You have hud.selectListItemAt :)
(quite sure it is in 1.7, but if not it will be in 1.8)
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re:list.setSelectedItem
by dpharaoh » 22 May 2009, 17:36
Oi!!
How did I miss that..... it's there and documented :)
Thanks
How did I miss that..... it's there and documented :)
Thanks
Join the Shiva IRC Chat! irc.shivaplace.com:6669 or irc.shivaplace.com:16669
Or, use the Java chat client: http://www.shivaplace.com/irc
Or, use the Java chat client: http://www.shivaplace.com/irc
3 posts
• Page 1 of 1