×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    3

    Question I can not see texts in dialog' edit window

    Hi,

    I created a dialog where we can enter 10 characters. The problem is edit windows background color is black. So when i enter characters (text) in edit window of dialog, i can not see those text becas text and background are in the same color.

    I want to change the background color, so that i may be able to view the text i enter.

    The resource i m using is as below.

    RESOURCE DIALOG r_mydialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
    {
    DLG_LINE
    {
    type = EEikCtEdwin;
    prompt = "Enter Data:";
    id = someedwinid;
    control = EDWIN {
    //flags = EEikEdwinKeepDocument;
    flags = EEikEdwinKeepDocument | EEikEdwinOnlyASCIIChars | EEikEdwinNoHorizScrolling |
    EEikEdwinAlwaysShowSelection | EEikEdwinKeepDocument | EEikSpacerGray;// | EEikEdwinUserSuppliedText;
    width = 20;
    //lines = 1;
    lines = 2;
    //maxlength = 10;
    maxlength = 20;
    };
    }
    };
    }


    How to achieve this... plz help me yar.

    Thanks
    Symb devel

  2. #2
    Registered User
    Join Date
    Feb 2007
    Location
    Tampere
    Posts
    370

    Arrow Re: I can not see texts in dialog' edit window

    hi,

    Try using this flag at the start
    flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;

    --MVP

Similar Threads

  1. Launching a dialog when the application starts
    By Uriah Eisenstein in forum Symbian User Interface
    Replies: 10
    Last Post: 2009-03-31, 09:06
  2. [announce] wait dialog wrapper 0.2
    By lfd in forum Symbian
    Replies: 10
    Last Post: 2008-03-21, 11:03
  3. Slider into a Dialog window
    By fernandola in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-06-27, 08:39
  4. Replies: 2
    Last Post: 2005-08-29, 07:28
  5. Incresing the Dialog size to accomodate large texts
    By Naga Jyothi Venkata K in forum Symbian User Interface
    Replies: 5
    Last Post: 2005-03-31, 07:53

Posting Permissions

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