problem to add arrow in editor

Login to reply to this topic.
Tue, 2008-09-02 08:49
Joined: 2008-08-22
Forum posts: 20

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);
textEditor->SetFocus(ETrue);
bt its nt showing any arrow in my editor.plz try to provide some help in this.


Tue, 2008-09-02 09:02
Joined: 2005-11-20
Forum posts: 1248
Re: problem to add arrow in editor

Try to call ActivateL() before SetFocus().


René Brunner

Tue, 2008-09-02 09:14
Joined: 2008-08-22
Forum posts: 20
Re: problem to add arrow in editor

still not showing arrow

Tue, 2008-09-02 09:18
Joined: 2003-12-05
Forum posts: 683
Re: problem to add arrow in editor

Which UI -- S60 or UIQ2/3? Might also be that the scrolling indicators appear only when there's enough to scroll -- do you have?

Tue, 2008-09-02 09:22
Joined: 2005-11-20
Forum posts: 1248
Re: problem to add arrow in editor

Might also be that the scrolling indicators appear only when there's enough to scroll

Well, yes, I thought that's the meaning of CEikScrollBarFrame::EAuto, in contrast to CEikScrollBarFrame::EOn.


René Brunner

Tue, 2008-09-02 09:24
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2009
Re: problem to add arrow in editor

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

Tue, 2008-09-02 10:00
Joined: 2008-08-22
Forum posts: 20
Re: problem to add arrow in editor

m using s60 3rd edition 9.1os.n hv check all the curcumstances what u hv mentioned.still cant see arrow key

  • Login to reply to this topic.