Hi Pete,
>     
>     still working on the ultimate program..
yes, everyone tries, but.....

>     
>     Everything seems to work until some point where I get an AV.. I've tried 
> doing 
>     the debug showmessage route, and haven't gotten any closer to solving the 
>     problem. I suspect there's something going on when closing a subform -- 
> but 
>     it's not obvious, yet.
>     
I know of a pitfall in this area: 'Closing' a form? there is a onclosequery 
executed, which can lead to an error in your program,
but if you try to free a form there is definitively the possibility of an AV. 
Use the method 'Release' instead.
And: keep an eye on components you created yourself! When you created them with 
an owner <> nil, you *will* get an error
when you try to (first) free them and (then, second) free the form (who owned 
them).

Happy de-bugging
Bob



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to