×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    38

    Edwin control problem

    Hi, We have a problem(S60 3rd edition app) with our edwin control in that if we enter enough characters so that the edwin box needs to resize itself so that there are 2 lines our app crashes. The edwin control is part of a simple dialog box. We have allocated maxlength of the edwin control to be 100 which is plenty.

    Resource definition below:

    RESOURCE DIALOG r_email_query
    {
    flags=EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
    {
    DLG_LINE
    {
    type = EAknCtQuery;
    id = EEmailQuery;
    control = AVKON_DATA_QUERY
    {
    layout = EStaticSizeDataLayout;
    control =
    EDWIN
    {
    maxlength = KMaxEMailLength;
    };
    };
    }
    };
    }
    ms

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    179

    Re: Edwin control problem

    What do you mean by "our app crashes"? What is the leave code, or Panic code + category?

    We have allocated maxlength of the edwin control to be 100 which is plenty.
    100 characters doesn't sound like very much to me...
    Symsource Ltd.
    [url]www.symsource.com[/url]

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Smile Re: Edwin control problem

    And how about trying with
    layout = EDataLayout;
    instead of
    layout = EStaticSizeDataLayout;
    ?

    Kiran.

Similar Threads

  1. Edwin problem
    By ManishPatil in forum Symbian
    Replies: 1
    Last Post: 2006-11-21, 09:05
  2. custom control problem
    By meetee in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-07-01, 11:59
  3. Control Pane problem
    By sriramadasu in forum Symbian
    Replies: 1
    Last Post: 2006-06-06, 15:28
  4. problem in custom control.....
    By platinnum in forum Symbian
    Replies: 0
    Last Post: 2005-05-06, 07:29
  5. D211
    By arleth in forum Multimodecards
    Replies: 7
    Last Post: 1970-01-01, 02:00

Posting Permissions

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