Registriert seit: 4. Jun 2010
15.671 Beiträge
|
When in Rome, do as the Romans do - Part III
26. Mai 2021, 18:20
In Delphi, properties can be backed by simple fields, but they can also have getter and setter functions that can be vital to the proper functioning of a class. They can contain additional initialization code, protect the consistency of the object's data, prevent invalid input...
<div style="text-align: center;"><a href="https://1.bp.blogspot.com/-f1g85NscqI4/YHQloL7x1iI/AAAAAAAAArs/Ps_bv6PJ5uAv7HPDv36PEAwY9laBcqHsQCNcBGAsYHQ/s800/when_in_Rome.jpg">
|