Oh I see. Thank you very much. That was the problem, the form pointer to the old handler was invalid, so I just had to set the handler again with the valid pointer.
On 1/1/07, Dmitry Grinberg <[EMAIL PROTECTED]> wrote: > > ok in that case introduction to dynamic ui on palm: don't do it if you can > avoid it. adding things is ok, removing is buggy > > what i means is that EVERY function that creates an item on a form can > change the FormPtr so you need to make sure that any copies of it you pass > or keep are correct. eg: > > g_MyForm=frm; > FldNewField ( > (void **)&frm, > 1234, > 40,20, > 50,15, > stdFont, > 80, > true, > grayUnderline, > true, > false, > leftAlign, > true, > false, > false > ); > > after this frm is the new form pointer and is valid, no guaranteed about > g_MyForm can be made however. > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
