Read-only archive of the All About Symbian forum (2001–2013) · About this archive

dialog breaks on execute

0 replies · 1,491 views · Started 14 July 2004

Hi
please advise :
why does this dialog breaks when trying to execute ?
(the DLG_LINE is not related to the pages on purpose ...)

RESOURCE DIALOG r_dialog 
{
title="r_dialog";
buttons = r_buttons;
flags=EEikDialogFlagWait | EEikDialogFlagNoDrag;
pages = r_multipage_option_array;
items =
{
DLG_LINE
{
prompt="list";
id=EId1;
type=EEikCtChoiceList;
control=CHOICELIST {maxdisplaychar=25;};
itemflags = EEikDlgItemNoBorder | EEikDlgItemNonFocusing;
}
};
}

RESOURCE ARRAY r_multipage_option_array
{
items =
{
PAGE
{
id = 1;
text = "tab1";
},
PAGE
{
id = 2;
text = "tab2";
}
};
}