Subject | Re: [IBO] Cursor Unknown |
---|---|
Author | Marco Menardi <mmenaz@lycosmail.com> |
Post date | 2003-03-02T01:10:08Z |
--- In IBObjects@yahoogroups.com, "Alan McDonald" <alan@m...> wrote:
not waited to terminate, before form is destroied. You'd better use
.Release.
i.e.
frmAbout := TfrmAbout.Create(Self);
try
frmAbout.ShowModal;
finally
frmAbout.Release;
end;
if your program is "nullified" before all events are processed, this
could be a source of "strange errors" ;). This could explain why a
while..do works, and a simple property change does not.
regards
Marco Menardi
> I'm can't help think that if that is a safer way to dsconnect thenmaybe the
> .Connected := False;How do you destroy your forms? If you call Free/Destroy, events are
> should in fact call that method or at least make the same action as the
> explicit call no?
> Alan
>
not waited to terminate, before form is destroied. You'd better use
.Release.
i.e.
frmAbout := TfrmAbout.Create(Self);
try
frmAbout.ShowModal;
finally
frmAbout.Release;
end;
if your program is "nullified" before all events are processed, this
could be a source of "strange errors" ;). This could explain why a
while..do works, and a simple property change does not.
regards
Marco Menardi