Tried issuing DODEFAULT first?
>I have a form which loads another form when the user presses an edit button. The newly called form, in it's INIT method, uses the AddObject method to add a container to the form. Occassionaly, the line Thisform.Addobject("bla","bla") errors with "Syntax error!". Is this because the form hasn't quite yet instatiated enough to give reference for the addobject? A timing issue?
>Again, it only happens randomly. When the debugger comes up, I hit resume immediately and it doesn't have a problem with the addobject then, and everything loads up ok.
>Should I move the Addobject to the activate method on a firstpass basis?
Just an idea,
- Erik Niese-Petersen
Crazy Dane in USA.