Cool sounds like a critical section I suspect.

Good luck,

Matt.
----- Original Message ----- From: "Ross Levis" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Monday, June 20, 2005 10:48 PM
Subject: Re: [DUG] graphics stops updating


Yes, it's an object in it's own unit and on the Palette, but the procedure calculating the figures is called by an underlying thread, so same problem I expect.

However, I just realised there is a mechinism to Lock the threaded procedure from executing by setting a boolean variable. It sits in a loop at the top of the threaded procedure until the lock is removed. I think this will do the trick. I can lock it while the property function is being called.

Regards,
Ross.

----- Original Message ----- From: "Matt Comb" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Monday, June 20, 2005 6:41 PM
Subject: Re: [DUG] graphics stops updating


Sorry may have read your email too quickly.

When you say you have converted your unit into a component? Do you mean
object? if not how are you creating this component?

Matt.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to