well .. i'm not sure how u get the keyboard to popup
.. but .. u could use something like this
EVENT_MAP_ENTRY(cltSelectEvent , OnSelect)
.....
Boolean CMyForm::OnSelect(EventPtr pEvent, Boolean&
bHandled)
{
.....
switch (GetFocus())
{
case MyFormMyField1Field:
....// draw keyboard return the text.. in a global var
or something
//take that value and update MyField1's Text
break;
case MyFormMyField2Field:
....// draw keyboard return the text.. in a global var
or something
//take that value and update MyField2's Text
}
}
and probably u can't get the focus with that because
when u draw the modal form the textbox might loose
focus .. (i suppose)
hope this will help
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/