ORAAlerter Event

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dunkelmann
Posts: 13
Joined: Fri 05 Apr 2013 08:43

ORAAlerter Event

Post by Dunkelmann » Thu 13 Mar 2014 17:38

Hello Devart Team,

My TORAlerter is waiting for Events, so I assume it uses some kind of Thread for this.

Is it save to update GUI Elements from the OnEvent - Procedure or do I have to use some Kind of synchronize/queue-thing (like I would use to access GUI Elements from a Thread) ?

thanks

Marcus

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ORAAlerter Event

Post by AlexP » Fri 14 Mar 2014 09:52

Hello,

The onEvent event occurs in the main thread of the application, therefore you can work in it with GUI elements.

Dunkelmann
Posts: 13
Joined: Fri 05 Apr 2013 08:43

Re: ORAAlerter Event

Post by Dunkelmann » Fri 14 Mar 2014 22:08

Thanks,

this is what I was hoping for!

DKM+

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ORAAlerter Event

Post by AlexP » Wed 19 Mar 2014 14:40

You are welcome. Feel free to contact us if you have any further questions about ODAC.

Post Reply