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;
};
};
}
};
}

Reply With Quote

