yes i did i have created a text field whose id is MainTestField
and i wrote the following code:-
case frmOpenEvent:
frmP = FrmGetActiveForm();
FrmSetFocus(frmP, FrmGetObjectIndex(frmP,
MainTestField));
FrmDrawForm ( frmP) ;
handled = true;
break;
but still not working.thanx for ur help but i did it.Now what should i do
-----Original Message-----
From: Holger Klawitter <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Tuesday, January 25, 2000 12:41 AM
Subject: Re: how to set focus in the field
>Gaurav Palvia wrote:
>>
>> i tried using FrmSetFocus.i used this function in frmOpenEvent but
>> it is not working.
>> Thanx in advance
>
>Did you pass the ObjectID or the ObjectIndex of your field?
>You have to pass the latter one!
> FrmSetFocus( frm, FrmGetObjectIndex( frm, FieldID ) )
>
>Mit freundlichem Gru�,
> Holger Klawitter
>--
>Holger Klawitter +49 (0)251 484 0637
>[EMAIL PROTECTED] http://www.klawitter.de/
>
>
>
>---
>You are currently subscribed to palm-dev-forum as: [EMAIL PROTECTED]
>To unsubscribe send a blank email to [EMAIL PROTECTED]
>For more information on the Palm Developer Forum's, see
<http://www.palm.com/devzone/mailinglists.html>
---
You are currently subscribed to palm-dev-forum as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
For more information on the Palm Developer Forum's, see
<http://www.palm.com/devzone/mailinglists.html>