ListBox and sliders

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

PJani
Just popping in
Just popping in
Posts: 17
Joined: Tue Jul 14, 2009 10:10

ListBox and sliders

Postby PJani » Mon Nov 09, 2009 16:56

How can i force Vert and Horiz sliders not to display? i dont need them.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: ListBox and sliders

Postby Jamarr » Mon Nov 09, 2009 23:20

Please exhaust all of your sources before asking your question: look at the API, search the wiki, search the forums. All of these sources can answer you question without having to waste someone elses time.

To answer the question, the API in v0.6.2 provides the following functions: setShowHorzScrollbar and setShowVertScrollbar - however since you also neglected to post the version of CEGUI you are using, I cannot give a definitive answer as to which methods you should use to achieve this.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

PJani
Just popping in
Just popping in
Posts: 17
Joined: Tue Jul 14, 2009 10:10

Re: ListBox and sliders

Postby PJani » Tue Nov 10, 2009 18:21

Sory i forgot to specify version.
My version is 0.7.1.

i have set setShowHorzScrollbar and setShowVertScrollbar to false, before i posted this. These two functions are not forcing sliders not to display, this is my problem.
I searched all cegui api allready and I didn't find anything useful.

I only ask when i cant go forward.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: ListBox and sliders

Postby Jamarr » Tue Nov 10, 2009 22:57

I don't have any problems with Listbox Scrollbars in v0.6.2, so it is either a bug in v0.7.1 or it is derived from your code.

Have you checked the value of the ForceVertScrollbar and ForceHorzScrollbar as specified here and in CEGUIListboxProperties.h?
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests