|Subject:||Re: Problems with TIdNotify|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Mon, 5 Feb 2007|
"Michal Hruby" <mh…@zoznam.sk> wrote in message
> Hello, I'd like to ask if this is correct way to use TIdNotify
That is one way to use it, yes.
> The reason why I'm asking is because sometimes I see two *same*
> lines in the listbox
The only way that can happen is if you are actually sending two
notifications with the same text in them. The TIdNotify object is
freed as soon as its DoNotify() method exits, so it can run only once.
> while sometimes not even one
The only way that can happen is if the main thread is not processing
new messages properly.
Problems with TIdNotify posted by Michal Hruby on Tue, 06 Feb 2007