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.
----- Original Message -----
From: "Ross Levis" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Monday, June 20, 2005 5:01 PM
Subject: Re: [DUG] graphics stops updating
Thanks everyone for the multi-threading techniques.
What about a Property to access the threaded variable. I've turned my
unit into a component which runs inside the thread, and added a property
in this component to access the local integer. eg.
property volLeft : Integer read FLeft;
Would it be threadsafe to read the property?
Cheers,
Ross.
_______________________________________________
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