Hello Louis,
louis wrote: ↑12.05.2021, 07:48
What is the purpose and the right use of the TZFields, why I must prefer TZFields against the ordinary TFields of Delphi?
The TZFields have two uses: They can interact with Zeos internal data structures directly and are faster that way and consume less memory. Also they have capabilities that extend the capabilities of Delphis TField descandants. The TZDateField can display a value of 2021-05-00 without problems whereas Delphi TDateFIelds cannot do that. Even though this value doesn't make much sense, it is valid in MySQL.
TZTimeField on the other hand can save and display time values with a precision down to micro seconds, which Delphis TTimeField also cannot do.
louis wrote: ↑12.05.2021, 07:48
Why they are not registered on Delphi and from FieldsEditor cannot create permanet TZFields for ZTable or ZQuery?
As far as I know, it is not possible to register them with Delphis field editor. Maybe we would have to come up with our own field editor for making them available.
louis wrote: ↑12.05.2021, 07:48
What is the purpose and the right use of the property DisableZFields?
DisableZFields is a define in the Zeos.inc file. If you use this define, Zeos will create normal TField descandants at runtime.
louis wrote: ↑12.05.2021, 07:48
Is Safe use TZFields in combination with property DisableZFields = True and viceversa TFields and DisableZFields = False?
I assume, it is not possible to use TZFields with DisableZFields enabled because then the TZFields will not be compiled. With DisableZFields it should be safe to use Delphis TField implementations.
Best regards,
Jan