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

Tabbed Dialog(Multi Page)

5 replies · 3,313 views · Started 30 June 2004

i have written Resource definition for Tabbed Dialog and it is compiling also.

But when i run it,the emulator crashes......

What can be the reason for the same ?????

here is the Resource Definition i have written .....

RESOURCE DIALOG r_test_dialog
{
title = "test";
pages = r_pages;
flags=EEikDialogFlagWait;
buttons=R_EIK_BUTTONS_CANCEL_OK;
}

RESOURCE ARRAY r_pages
{
items=
{
PAGE{text="page1";id=EPage1;lines=r_page1;},
PAGE{text="page2";id=EPage2;lines=r_page2;}
};
}

RESOURCE ARRAY r_page1
{
items=
{
DLG_LINE
{
type=EQikCtTimeEditor;
prompt = "Time";
id= EMyTimeEditorId;
control = QIK_TIME_EDITOR
{
minTime=TIME // Minimum time bound.
{
hour = 0;
minute = 0;
};
maxTime=TIME // Maximum time bound.
{
hour = 23;
minute = 59;
};
}; // End of the control.
}
};//End Of Items
}//End of Array

RESOURCE ARRAY r_page2
{
items=
{
DLG_LINE
{
type = EQikCtDateEditor;
prompt = "Date ";
id = EMyDateEditorId;
control = QIK_DATE_EDITOR
{
minDate=DATE // Set to 15/04/1970.
{
day=14; // Note this refers to the 15th day of the specifed Month.
month=3; // Note this refers to April.
year=1970;
};

maxDate=DATE // Set to 15/04/2100.
{
day=14;
month=3;
year=2100;
};

}; // End of control.
}
};//End Of Items

} //End of Array

Delta737 wrote:I think you get more response if you post it in the developers forum...

Can u give me the URL for the same ???

amitaggarwal wrote:i have ...
...

...nd of Array

IMHO We miss some source code (with bugs 😊 that uses this resource 😉 No ideas without src.