Link to home
Start Free TrialLog in
Avatar of Diono
Diono

asked on

Prevent event from processing further

I need to stop the FURTHER processing of an event as below:-

procedure TMainFruitTestingForm.DBNavigator1BeforeAction(Sender: TObject;
  Button: TNavigateBtn);
begin
  if Button = nbInsert then exit;
end;

When the above event fires, the result is that the dataset is still moved into an insert state.

Thanks,
Dion.
ASKER CERTIFIED SOLUTION
Avatar of kretzschmar
kretzschmar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial