Subject Re: Using IBEvents.
Author Ross
Hi Gerson,

I am a amateur so what I am about to say may not make sense or is so
basic you would have probably done it already...

I was interested in using events so that I would not have to keep
polling the database using a timer. So I added an event to a trigger
in the database below:

if (new.event_type = 'A') then
post_event 'New_Event_Added';

And I added a IBEvent component to the delphi application and used
the OnEventAlert handler like

if EventName = 'New_Event_Added' then
....

Also for the Events (TStrings property of the IBEvent component) I
added the name of the event in there as well.

Hope it helps in the least

Ross Simmons
Internet Division
Sunbeach Communications Inc.
"San Remo" Belmont Road,
St. Michael, Barbados
PBX: (246) 430-1569
Voice: (246) 430-1586
Fax: (246) 228-6330
Email: ross.simmons@...
Website: http://www.sunbeach.net

--- In firebird-support@yahoogroups.com, "Gerson Machado - Yahoo"
<gersonamach@y...> wrote:
> I put in my Delphi 7 application and Firebird 1.5 (4481) the events
> mensage, like:
>
> HYPERLINK
> "http://www.ibphoenix.com/main.nfs?
a=ibphoenix&page=ibp_interbase_contro
> l#10"http://www.ibphoenix.com/main.nfs?
a=ibphoenix&page=ibp_interbase_co
> ntrol#10
>
> I registrered my component events in my FormShow like:
>
> IBEvents1.Registered := true;
>
> And test my application and nothing happened, what you sugests.
>
> Tks
>
> Gerson Machado
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.775 / Virus Database: 522 - Release Date: 8/10/2004
>
>
>
> [Non-text portions of this message have been removed]