problem to add arrow in editor
| Tue, 2008-09-02 08:49 | |
|
i hv used the following code to add an arrow in my editor: textEditor = new (ELeave) CEikEdwin(); textEditor->SetContainerWindowL(*this); textEditor->ConstructL(); // textEditor->SetObserver(this); textEditor->CreateScrollBarFrameL(); textEditor->ScrollBarFrame()->SetTypeOfVScrollBar(CEikScrollBarFrame::EArrowHead); textEditor->ScrollBarFrame()->SetTypeOfHScrollBar(CEikScrollBarFrame::EArrowHead); textEditor->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto); |
|






Forum posts: 1248
Try to call ActivateL() before SetFocus().
René Brunner
Forum posts: 20
still not showing arrow
Forum posts: 683
Which UI -- S60 or UIQ2/3? Might also be that the scrolling indicators appear only when there's enough to scroll -- do you have?
Forum posts: 1248
Well, yes, I thought that's the meaning of CEikScrollBarFrame::EAuto, in contrast to CEikScrollBarFrame::EOn.
René Brunner
Forum posts: 2009
Have you added some text ?
Your scrollbar is set to EAuto so if you keep the edwin empty you won't see anything.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 20
m using s60 3rd edition 9.1os.n hv check all the curcumstances what u hv mentioned.still cant see arrow key