ScrollBar

Login to reply to this topic.
Mon, 2008-07-14 13:44
Joined: 2007-09-24
Forum posts: 88

Hi all
In my application I'm creating Scroll Bar But It doesn't appear vertical ,below is the code for scroll bar in my application
// add scrollbars to listbox
iColumnListBox->CreateScrollBarFrameL(ETrue);
iColumnListBox->ScrollBarFrame()->SetScrollBarVisibilityL( CEikScrollBarFrame::EOn, CEikScrollBarFrame::EAuto );
iColumnListBox->ScrollBarFrame()->SetScrollBarSide(CEikScrollBar::EVertical,CEikScrollBarFrame::EBottomOrRight);
If the number of item in list box is more then the currently displayed item on the screen i used
iColumnListBox->UpdateScrollBarsL();
to upadete the scroll bar
Is there any thing wrong with these code , Or Is there anything have left to add in above code please
tell me
Thanks in Advance
Thanks and Regard
Praveen Kumar Sharma


Mon, 2008-07-14 13:58
Joined: 2005-11-20
Forum posts: 1248
Re: ScrollBar

I never used SetScrollBarSide(), didn't even know that such a method exists. As I have no problem with my list boxes, it can hardly be necessary.

Did you use HandleItemAdditionL() after adding items?


René Brunner

Mon, 2008-07-14 15:21
Joined: 2007-09-24
Forum posts: 88
Re: ScrollBar

Hi René Brunneradding thanks

I have added above mentioned function after adding items in list box

Thanks and Regard
Praveen Kumar Sharma

  • Login to reply to this topic.