Integer Editor

Login to reply to this topic.
Wed, 2007-10-17 11:37
Joined: 2007-10-13
Forum posts: 7

Hi...

I am creating a program to display two text boxes in a dialog.

I got some example programs and from that i collected the resource coding.

And this is the code which displays two text boxes as i was expecting,

RESOURCE DIALOG r_npro_multi_line_layout
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineFirstLine;
control = AVKON_DATA_QUERY
{

layout = EMultiDataFirstDateEd;
label = STRING_r_npro_date_label_text;
control = DATE_EDITOR
{
minDate = DATE
{
year = NPRO_DATE_EDITOR_MIN_DATE;
};
maxDate = DATE
{
year = NPRO_DATE_EDITOR_MAX_DATE;
};
flags = NPRO_DATE_EDITOR_FLAGS;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{

layout = EMultiDataSecondDurEd;
label = STRING_r_npro_dura_label_text;
control = DURATION_EDITOR
{
minDuration = DURATION
{
};
maxDuration = DURATION
{
seconds = NPRO_DURATION_EDITOR_MAX_SECOND;
};
flags = NPRO_DURATION_EDITOR_FLAGS;
};
};
}
};
}

But i want to convert this to integer editor...

Can anyone please help me.....

I have also tried Numerical editor examples, but it is not getting executed properly.

Please help me to convert the code..


Thu, 2007-10-18 12:55
Joined: 2006-09-15
Forum posts: 26
Re: Integer Editor

Change the control as NUMBER_EDITOR . Hope it ll work.


Ruchi.

Thu, 2007-10-18 12:55
Joined: 2006-09-15
Forum posts: 26
Re: Integer Editor

Change the control as NUMBER_EDITOR . Hope it ll work.


Ruchi.

Fri, 2007-10-19 05:47
Joined: 2007-10-13
Forum posts: 7
Re: Integer Editor

Thanks Ruchi..

I have changed the control to AVKON_INTEGER_EDWIN

Now its working.

Sat, 2007-10-20 10:16
Joined: 2006-09-15
Forum posts: 26
Re: Integer Editor

Congrates...


Ruchi.

  • Login to reply to this topic.