Remember: whenever you call any of the functions that dynamically create UI
elements, they may change the location of the form and all of the objects
in that form. Thus, after the call, any form pointers, object pointers,
text pointers, etc. that you may have had are invalid.
Have you tried debugging the application to see where it gives the error?
---
--On Wednesday, January 05, 2000 4:06 PM -0500 Frans Amelink
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm creating a dynamic field in an existing form using
>
> fieldP = FldNewField((VoidPtr *)&frmP, ObjId, x, y, cx, cy,
> stdFont,
> 10, //num of chars
> true, //editable
> true, //underlined
> false, //single line
> true, //dynamic size
> leftAlign, //justification
> false, //auto-shift
> false, //has scrollbar
> false //numeric
> )
>
> however after closing the form, I get a "Application has just read
> directky from memory manager data structures." warning.
> Funny thing is, that this happens only when I change the data in the
> field. Any ideas anyone?
>
> Thanks
>
> Frans