constructing multipage dialog
| Thu, 2004-12-02 08:18 | |
|
Hi all,
I would like to construct an multipage dialog. As I have seen from the documentation, it said something like setting the id "pages" in the resource file while defining dialog. But I just can't figured out how to make it works. Does anyone know the way to put the code in order to have a multipage dialog? Thank you very much. P.S. can I have an example code of the definition in resource for a multipage dialog? THX |
|






Forum posts: 308
{
items=
{
//add some controls you want to show in the dialog
DLG_LINE
{
}
};
}
RESOURCE ARRAY r_two_page
{
items=
{
PAGE
{
id = 0;
text = "page1";
lines = r_one_page;
},
PAGE
{
id = 1;
text = "page2";
lines = r_one_page;
}
};
}
RESOURCE DIALOG r_example_dialog
{
title="Clock demo dialog";
buttons=R_EIK_BUTTONS_CANCEL_OK;
flags=EEikDialogFlagNoDrag;
pages=r_two_page;
}
Thanks
Amit
Forum posts: 32
Forum posts: 8
Somehow the S80 SDK documentation claims that the dialogs on the first page can be defined in the DIALOG structure, but it doesn't work, I get a CONE 14 panic.
Works fine when all dialog pages are defined in the ARRAY of PAGE!
Forum posts: 57
But some stange things happen:
I have a LISTBOX in my dialog. The items of the listbox is only viewed in the first page.
Any ideas?
Again, tanks a lot for your help
Forum posts: 9
I make single-page form and all work fine. Then I make maulti-page form by changing .rss file
Forms descriptions (RESOURCE FORM ) I make from single-page form by copy-paste.
But after these changes program terminates by call ExecuteLD function of form object.
Why ?