How can I get scrollbar in a richlistbox element?

Discuss building things with or for the Mozilla Platform.
Posts: 9
Joined: July 8th, 2014, 7:46 pm

Post Posted August 27th, 2014, 8:39 pm

Hi all, I've got a problem that I want set the scrollbar of a richlistbox elmenet to hide or show dynamically, but it seems that I can't get the scrollbar element directly, only the richlistbox itself, or the scrollbox inside the richlistbox. Can anyone please tell me how to get the scrollbar element please? Suppose I've already got the scrollbox element. Thanks.
These scrollbox and scrollbar are generated by the richlistbox internally, the scrollbar has no id, no class attribute, nothing.
Last edited by ericchan1336 on August 27th, 2014, 8:48 pm, edited 1 time in total.


User avatar
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted August 27th, 2014, 8:48 pm

Are you compiling a version of Firefox or are you trying to make an extension?
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."

Posts: 9
Joined: July 8th, 2014, 7:46 pm

Post Posted August 27th, 2014, 8:49 pm

Acually I'm trying to compiling Thunderbird. But I think this is a general xul question, so I posted it here.


User avatar
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted August 28th, 2014, 1:43 pm

Scroll bars on richlists should be dynamic by default.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about:

Return to Mozilla Development

Who is online

Users browsing this forum: No registered users and 1 guest