"Praveen Potineni" <[EMAIL PROTECTED]> wrote
> I got this strange error "MemoryMgr.c , Bad chunk header"
> at the second FrmSetFocus statement in the code:
>
That's a message that could arise from a number of different sources.
As a start I'd split the FrmGetObjectIndex call out to make sure that
a valid parameter is being passed to FrmSetFocus.

Aside from this you might also have a corruption of some sort.  Open
the form structure in the debugger and check that the properties all
look OK.  Store a pointer to the control which is erroring (or work
through the form's control array) and check that it's data is still valid.

If the control has a strange ID or x,y position this generally indicates
that a control earlier in the array (generally a label) is overwriting the
rest of the form data.

Chris Tutty



-- 
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