ItemListbox Item Visibility

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

ItemListbox Item Visibility

Postby daves » Fri Apr 25, 2008 16:18

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.

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Mon Apr 28, 2008 12:31

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...


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 14 guests