Skip to Content
0
Former Member
Jul 26, 2005 at 03:54 PM

Delphi 2005 (.net) event handling

23 Views

Hi Everybody, I have tried app := con.GetApplication(0); in Delphi 2005 (vcl.net application). It works.

And I have created the following proc:

procedure TForm1.appItemEvent(FormUID: String; var pVal: ItemEvent; out BubbleEvent: Boolean);

begin

app.MessageBox('Hi Eddie', 1, 'Hi 1', 'Hi 2', 'Hi 3');

end;

Now, my problem is, how to assign this proc to app.ItemEvent ??

Welcome for any advice. Thx.