Hi,

I'm trying to set some text on some labels/fields as soon as the form is
loaded.

I used frmOpenEvent to set the initial values to the labels/fields :

case frmOpenEvent:
{
        frmP = FrmGetActiveForm();
        RFFormInit();                   // This function is created/used to set all 
the values to
the                                             // fields
        FrmDrawForm ( frmP);
        break;
}

When I do this what happens is:
1) The form gets loaded but no fields was set.
2) When I click on any button on my form, I briefly see all the values being
set but the form gets destroyed.

Well I know why the form gets destroyed but what I can't figure out was why
the
values were not initialized when the form loaded. That's the correct event
to
use isn't it?

- mz


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to