Hi,
is it possible to have a predictive text input in dialog? CAknTextDialog offers only the possibility to change between uppercase and lowercase.. :(
Any help appreciated!
Hi,
is it possible to have a predictive text input in dialog? CAknTextDialog offers only the possibility to change between uppercase and lowercase.. :(
Any help appreciated!
at least you could make dialog and just put a standard edwin in there. Then you could adjust the behaviour by setting the flags to it.
or would query dialogs be enough (see query example)?
yucca
Thanks for the quick answer Yucca.
It is interesting that Query example shows the predictive text input possibility in the SDK documentation, but when i build the application it uses only upper and lowercases... :(
I am pretty new to Symbian so could you point me to an example code on how to (just) put an Edwin in a dialog...
Thanks.
have you checked how it works on the target phones, maybe there is just something wrong with the emulator.
Anyway, here's how to make a dialog line with edwin:
DLG_LINE
{
type = EEikCtEdwin;
id = EMyText;
control = EDWIN
{
flags = EEikEdwinInclusiveSizeFixed;
width = 25;
lines = 1;
maxlength = 50;
};
}
I took it from Series 80 project, but it should work just about same in Series 60.
yucca
Hi Yucca,
do you know if it is possible to check if a word is underlined by T9 in
a CEikEdwin ? does CAknEdwinState offer such information?
I assume you mean CAknTextQueryDialog in which case just call the SetPredictiveTextInputPermitted method before displaying the dialog
Download Symbian OS now! [url]http://developer.symbian.org[/url]
thanks,
it worked,
just for the sake of others, here's a sample :
the HTTPClient API should've include this line in the Engine class.Code:CAknMultiLineDataQueryDialog* dlg = CAknMultiLineDataQueryDialog::NewL(userName, password); dlg->SetPredictiveTextInputPermitted(ETrue); if (!dlg->ExecuteLD(R_DIALOG_USER_PASSWORD_QUERY)) { return; }
dlg->SetPredictiveTextInputPermitted(ETrue);
=)