procedure TP_GlobalIgnoreClassProperty (IgnClass:TClass;propertyname:string);
This procedure puts one property of a class on a global ignore list,
so that this property won't be translated by
TranslateProperties() or TranslateComponent()
for all objects of this type or of a type that descends from this type.
For instance, it is not very useful to have TField.Fieldname translated, and therefore this
line would make a lot of sense in most database applications:
TP_GlobalIgnoreClassProperty (TField,'Fieldname'); |
A good place to put this line is in the .dpr file. See the Section called Sample.dpr in the appendix called "Hello, World" source code> for
further information.