[DUG] TThread Synchonization reading VCL properties?
David Moorhouse
David.Moorhouse at pegasus.org.nz
Thu Jun 1 15:42:49 NZST 2017
Surely it depends what is happening in the property reader ?
David Moorhouse (BCom) | Principal Software Engineer - HealthOne
Pegasus Health (Charitable) Ltd
P: 03 353 0871 | W: www.pegasus.org.nz
E: david.moorhouse at pegasus.org.nz
PO Box 741, Christchurch 8140
401 Madras St, Christchurch 8013
-----Original Message-----
From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Ross Levis
Sent: Thursday, 1 June 2017 3:32 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] TThread Synchonization reading VCL properties?
I need clarification if a thread accessing a TLabel.Caption would require a Synchronize. I can understand that updating a VCL property in a thread would require this but I'm thinking that just reading it shouldn't cause any issues if the caption is not ever changing. Am I correct?
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with Subject: unsubscribe
********************************************************************************
This email or attachment(s) may contain confidential or legally privileged
information intended for the sole use of the addressee(s). Any use, redistribution,
disclosure, or reproduction of this message, except as intended, is prohibited.
If you received this email in error, please notify the sender and erase all
copies of the message, including any attachments.
Any views or opinions expressed in this email (unless otherwise stated) may not
represent those of Pegasus Health Ltd.
********************************************************************************
More information about the Delphi
mailing list