Ben Combee a �crit : > At 12:06 PM 3/30/2004, you wrote: > >The form seems to be more than moved: I call CtlNewControl right after > >calling FrmInitForm for a modal dialog and pass it &form. After that, > >several buttons see their text changed. I suspected a conflicting ID with > >internal object I didn't know about, so I chose 10000, way above any > >resource in my application, to no avail. > > Nope. You've hit one of the bugs with dynamic controls in Palm OS; the > code that fixes internal pointers in the form sometimes identifies text as > a pointer and causes corruption. This bug wasn't completely fixed until > Palm OS 4.1, IIRC. This happening is a good argument against using dynamic > forms unless you really, really need them.
I was adding a few dynamic controls to bypass Constructor's 100 objects/form limit. Easier than moving to PilRC... Are some dynamic controls type safer than others under Palm OS 3.x? Popup triggers maybe? I could re-arrange them if this is a solution. -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
