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
Forum posts: 1248
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
Forum posts: 88
Hi René Brunneradding thanks
I have added above mentioned function after adding items in list box
Thanks and Regard
Praveen Kumar Sharma