Subject | Re: [IBO] Cursor Unknown |
---|---|
Author | Marco Menardi <mmenaz@lycosmail.com> |
Post date | 2003-03-03T02:47:04Z |
--- In IBObjects@yahoogroups.com, "Alan McDonald" <alan@m...> wrote:
forms, but about destroying them.
Usually components are destroied with .free, beware that for forms
it's better use .Release.
In any case, hope you don't simply assign nil to the form variable
instead of free/release (and it does not make sense do it after one of
them, since it's automatically done by those methods, AFAIK).
regards
Marco Menardi
> Thanks Marco, but no, I don't hide my forms, I create them if theyare nil
> and set them to nil on close.late in
> My main form calls exit and on datamodule destroy which is pretty
> the exit, I call disconnect... the while loop seems to work - it must beOk, that can not be your problem, but I was not talking about hiding
> asynchronously disconnecting while other things are going on. The loop
> ensure that it all waits I suppose.
>
> Alan
forms, but about destroying them.
Usually components are destroied with .free, beware that for forms
it's better use .Release.
In any case, hope you don't simply assign nil to the form variable
instead of free/release (and it does not make sense do it after one of
them, since it's automatically done by those methods, AFAIK).
regards
Marco Menardi