I was just wondering about why should I use property in a class instead of \"normal\" variables (class attributes?). What I mean is this:
TSampleClass = clas
It is just a good programming practice to isolate the very "innards" of your class from the outside world. In addition, information about published properties are stored into RTTI generated for the class and can be accessed by their name, enumerated etc. This feature is used for example when reading a form from its serialized resource form.