Prevent Form Deactivate in Delphi 6
问题 We have a Delphi 6 application that uses a non modal form with in-grid editing. Within the FormClose event we check that the entries are square and prevent closure if they're not. However, if the user clicks on the main form behind then the original form disappears behind (as you'd expect) but this allows the user to move to a new record on the main screen, without their changes in the grid having been validated. I've tried the FormDeactivate event, which does fire but doesn't seem to have