×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    18

    defining text resource for EEikCtRichTextEditor

    Hi, I have a dialog with a rich text editor defined as a resource in my rss file. How do I define the resource to specify what to text to show in the Rich Text editor dialog.
    Another question I have is if it is possible to set the font size in the resource definition? if yes, how?

    The way the resource is currently defined is the following:

    RESOURCE DIALOG r_enroll2_dialog
    {
    title="Enroll 2";
    flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |EEikDialogFlagWait;
    buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
    {
    DLG_LINE
    {
    type=EEikCtRichTextEditor;
    id=ELineStatic1;
    control=RTXTED
    {
    width=176;
    height=130;
    numlines=0;
    };
    itemflags = EEikEdwinAlwaysShowSelection | EEikRTedNoTextParsers | EEikDlgItemNonFocusing;
    tooltip = "RichText";
    }
    };
    }

  2. #2
    Regular Contributor
    Join Date
    Apr 2006
    Location
    Malaysia
    Posts
    246

    Re: defining text resource for EEikCtRichTextEditor

    Hi,

    It would be great if i can create richtexteditor in dialog. At the moment i'm displaying it in container. I have same problem with you..dunno how to insert text in my dialog. Anybody can help us? Thanks

Similar Threads

  1. How to get text value from enumerated text array resource?
    By hasanlacin in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-05-26, 08:48
  2. Replies: 0
    Last Post: 2004-11-24, 18:49
  3. Replies: 0
    Last Post: 2004-03-28, 06:51
  4. Access text inside of a resource array
    By jmorato in forum Symbian
    Replies: 2
    Last Post: 2003-07-18, 17:04
  5. Defining graphics-file in resource - how to handle driveletter?
    By mmalo in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-03-17, 08:31

Posting Permissions

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