×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    How to Get text from RichTextEditor

    Hi I try to make a editor using richtext

    The problem is how to get the text that I has input?
    What method should I use?

    O yeah I also want to change the text color and height (text that i input)

    Any example or code that i can learn ?

    thx a lot

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: How to Get text from RichTextEditor

    you can get the text using "RichText()" Gets a pointer to the rich text object owned by the editor.(SDK)
    and for editor example you can download it from here
    http://www.forum.nokia.com/info/sw.n..._2_en.zip.html
    Regards
    $-Nitesh-$

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: How to Get text from RichTextEditor

    R u talking about CRichText, right??? I never used CRichText , but u can check CRichText::GetChars() method to get inputs. Also check following page to formatt text of CRichText.
    http://www.symbian.com/Developer/tec...ext.guide.html

  4. #4
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to Get text from RichTextEditor

    Quote Originally Posted by Nitesh Bhardwaj View Post
    you can get the text using "RichText()" Gets a pointer to the rich text object owned by the editor.(SDK)
    and for editor example you can download it from here
    http://www.forum.nokia.com/info/sw.n..._2_en.zip.html
    Thx, Nitesh Bhardwaj
    I try the example first.

  5. #5
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to Get text from RichTextEditor

    Quote Originally Posted by savaj View Post
    R u talking about CRichText, right??? I never used CRichText , but u can check CRichText::GetChars() method to get inputs. Also check following page to formatt text of CRichText.
    http://www.symbian.com/Developer/tec...ext.guide.html
    hi savaj, thx for the link

  6. #6
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    227

    Re: How to Get text from RichTextEditor

    Ah already solve the problem

    I used GetText() method and it work.

    TBuf<256> text;

    iEditor->GetText(text);

Similar Threads

  1. Can't switch numeric input to text input in RichTextEditor
    By mobilepig in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-01-03, 05:14
  2. Exit form from edit mode
    By tqchcm in forum Symbian User Interface
    Replies: 13
    Last Post: 2007-10-31, 06:06
  3. Display text on a RichTextEditor
    By noussaENSI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-04-27, 08:46
  4. Replies: 2
    Last Post: 2005-02-01, 23:05
  5. Replies: 0
    Last Post: 2004-11-24, 18:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×