Hi everybody,
I am using a Listbox element and I do not know how to 'activate' the Vertical Scrollbar.
When I add a lot of items within the Listbox, automatically appears the vertical scrollbar on the right. BUT, clicking with the mouse on it, nothing happens, the scrollbar does not move.
What do I have to do to be able to use the vertical scroll bar?.
Listbox Scrollbar
Moderators: CEGUI MVP, CEGUI Team
- Buckcherry
- Not too shy to talk
- Posts: 29
- Joined: Wed Nov 02, 2005 15:07
- martignasse
- Just can't stay away
- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
hi Buckcherry,
you should found what you search for at properties level
http://www.cegui.org.uk/api_reference/namespaceCEGUI_1_1ListboxProperties.html
the "ForceVertScrollbar" property is what you looking for.
you should found what you search for at properties level
http://www.cegui.org.uk/api_reference/namespaceCEGUI_1_1ListboxProperties.html
the "ForceVertScrollbar" property is what you looking for.
- Buckcherry
- Not too shy to talk
- Posts: 29
- Joined: Wed Nov 02, 2005 15:07
According to that:
Detailed Description
Property to access the 'always show' setting for the vertical scroll bar of the list box.
Usage:
Name: ForceVertScrollbar
Format: "[text]"
Where [Text] is:
"True" to indicate that the vertical scroll bar will always be shown.
"False" to indicate that the vertical scroll bar will only be shown when it is needed.
So, ForceVertScrollbar seems to be only to show or not the vertical scroll bar.
When it is needed, automatically appears the vertical scroll bar in my screen, but I can not use it. It's like it was deactivated, but it is shown...
Any idea?.
Detailed Description
Property to access the 'always show' setting for the vertical scroll bar of the list box.
Usage:
Name: ForceVertScrollbar
Format: "[text]"
Where [Text] is:
"True" to indicate that the vertical scroll bar will always be shown.
"False" to indicate that the vertical scroll bar will only be shown when it is needed.
So, ForceVertScrollbar seems to be only to show or not the vertical scroll bar.
When it is needed, automatically appears the vertical scroll bar in my screen, but I can not use it. It's like it was deactivated, but it is shown...
Any idea?.
- martignasse
- Just can't stay away
- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
ok,
sorry i miss understood you'r question.
it's strange... some research ideas :
- basic but, are you injecting the mouse events in CEGUI, like mouse pressed ?
- what is the result of the getTotalItemsHeight (void) on you'r listbox ?
- did you modifi items after they are added to the listbox ?
hope it help
sorry i miss understood you'r question.
it's strange... some research ideas :
- basic but, are you injecting the mouse events in CEGUI, like mouse pressed ?
- what is the result of the getTotalItemsHeight (void) on you'r listbox ?
- did you modifi items after they are added to the listbox ?
hope it help
- Buckcherry
- Not too shy to talk
- Posts: 29
- Joined: Wed Nov 02, 2005 15:07
- Buckcherry
- Not too shy to talk
- Posts: 29
- Joined: Wed Nov 02, 2005 15:07
I could not
I have not found the mistake. I am getting crazy with this!...
Is it possible to paste some piece of code here, please?.
Thanks.
Is it possible to paste some piece of code here, please?.
Thanks.
- Buckcherry
- Not too shy to talk
- Posts: 29
- Joined: Wed Nov 02, 2005 15:07
Help
Could you possibly post some piece of code here, please?.
The problem is still unsolved.
The problem is still unsolved.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 3 guests