vertical scroll bar for CTextView
I want to add a vertical scroll bar to the CTextView(& underlying CRichText) object. It wasn't obvious to me if CTextView exposed methods to do this. I was going to create a CEikScrollBar object and have my class definition inhert from CEikScrollBarObserver; however, neither CTextView or CRichText inherits from CCoeControl.
Can someone advise me as to how this is typically done or otherwise point me to an example?
Posted by Robert Bertolino, Robert_Bertolino@us.ibm.com
on April 30, 2002 at 17:14
RE: vertical scroll bar for CTextView
Posted by Forum_Nokia Developer_Support, email@example.com
on April 30, 2002 at 17:29
Are you able to use the CEikRichTextEditor class instead of CTextView and CRichText - then the scrollbars will be handle for you by that class. You would need to enable the scrollbars by calling:
FN Developer Support