GNU gettext for Delphi, C++ Builder and Kylix 1.2 beta
<<< Previous | API reference | Next >>>

# 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.

<<< Previous | Home | Next >>>
procedure TP_GlobalIgnoreClass (IgnClass:TClass); | Up | procedure TP_GlobalHandleClass (HClass:TClass;Handler:TTranslator);