Page 1 of 1

ItemListbox Item Visibility

Posted: Fri Apr 25, 2008 16:18
by daves
I have an ItemListbox with several ItemEntry's within it.

What is the command to make a specific ItemEntry visible?

Also is there a way to control the "step height" when clicking on the listboxes vertical scrollbar (the way there is for a ScrollablePane)?

Thanks in advance.

Posted: Mon Apr 28, 2008 12:31
by Rackle
ensureItemIsVisible() is one of the functions you are after. For example usages you may want to look at:

http://www.cegui.org.uk/wiki/index.php/WidgetGalore
http://www.cegui.org.uk/wiki/index.php/PseudoListbox
http://www.cegui.org.uk/wiki/index.php/GameChatBox

I'm not sure of the name of the others; out of time this morning...