Object Property Translations - [TObject]

<< Click to Display Table of Contents >>

Navigation:  Configuration > IniFile Sections >

Object Property Translations - [TObject]

Previous pageReturn to chapter overviewNext page

An ini file section of the form TObjectClass will cause any occurrences of the keys in that section which appear as Properties of the object in the DFM file being translated to the FMX property name contained as the value.

 

Eg.

[TLabel]

Top=Position.Y

Left=Position.X

Caption=Text

 

To Remove a property so the error warnings are not generated then replace it with #Delete#

 

Eg.

Font.Color=#Delete#

 

 

When a Section is not found for a VCL component a default section will be generated

 

[TLabel]

Empty=Add Transformations

Top=Position.Y

Left=Position.X