[DUG] graphics stops updating

Ross Levis ross at stationplaylist.com
Mon Jun 20 22:48:50 NZST 2005


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" <matt at ferndigital.com>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
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. 



More information about the Delphi mailing list