Hi all,
This is one basic question, but I need some clarification ...

I'd like to know when to return false from a FormHandler responding to a
formOpenEvent.  I'm asking this question because I just fixed a problem
by returning true form my FormHandler what I was not doing.

I'm converting from OS 3.1 to 3.5.  When executing my program I received
the warning messages : "app has just read directly from an unlocked
memory chunk" followed by the "bad form" message when returning the
control to the higher formHandler.

In this form, I'm creating dynamic fields and dynamic labels.  I know
the form pointer can be invalid after the calls to my allocation
routines. Could it be the system FormHandleEvent() function that lost
track of the new form pointer ?

In the Palm OS Companion it is stated that the application is
responsible for handling this Event.  Does it means to return true form
my handler (meaning that my app take care of everything) ?

thanks,

Pierre L.



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to