Posted on 2003-03-10
I try to use a TIBEvents component but I don't know what kind of events are to be used. I have choosen logical events (for example EMP_NO>100) for the Events property (EventAlerter Events window) and I don't get event report using the procedure as follows:
procedure TDMDatamodul.IBEvents1EventAlert(Sender: TObject;
EventName: String; EventCount: Integer; var CancelAlerts: Boolean);
MessageDlg ('Event: '+EventName, mtInformation, [mbOK], 0);
This is placed in a DataModule so first I had to insert the "uses Dialogs" to the used units to be able to use here the message dialog box.
An other question: How can I delete event from this list (EventAlerter Events window)?
with best regards