Subject Re: [IBO] Modal form abort problem
Author Lucas Franzen
stanw1950 schrieb:
>
> I have a tib_query on a modal form. In the BeforeDelete event I do a
> check where I may need to cancel the delete. To cancel the delete
> action I use the abort command. But when that command is executed,
> the parent form is immediately returned to. I want to stay with the
> modal form. What am I doing wrong? Thanks for any help. (Delphi 6
> ent; ibo 4.2.hg)

Use sysUtils.Abort to avoid name-clash.

Luc.