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

Few development questions

0 replies · 1,336 views · Started 02 November 2006

1. how to change font of form's fields prompt?
type=EEikCtEdwin;
prompt = STR_FIELD_NAME;
control= EDWIN { maxlength = 10; };

2. I have form defined like this:

RESOURCE FORM r_form
{
flags = EEikFormUseDoubleSpacedFormat;
items =
{
DLG_LINE
{

},
DLG_LINE
{
},
DLG_LINE
{
id=ELoginNoteControlId;
type=EEikCtEdwin;
prompt = "";
control= EDWIN { lines = 2; };
}
};
}
the 3rd filed used only for displaying note. and assigning value to it this way:

CEikEdwin* control = (CEikEdwin*)ControlOrNull( ELoginNoteControlId );
if ( control )
{
control->SetTextL( &iNoteText );
SetSmallEdwinFontL( control );
}

For some reason the text is starting to display at the bottom of the screen and if i write more then one line its displayed outside the screen... Althought there is plenty space between end of prevous field and the text.
How to solve it?

3. how to set some audio file to be a phone's ringtone?
to do this from my application?

Thanks at advance.