Home Overview Localization of PE files Delphi/C++ Builder - Automatic selection of VCL ancestor classes
Localization of PE files Delphi/C++ Builder - Automatic selection of VCL ancestor classes PDF Print E-mail
Article Index
Localization of PE files Delphi/C++ Builder
VCL Resources
VCL Form Designer
VCL Resource Editor
Automatic selection of VCL ancestor classes
All Pages

Automatic selection of VCL ancestor classes

Ancestors of unknown VCL classes can be set automatically. This occurs when you add files to a project or update resources. Classes are auto-assigned by matching a class name and a name template of a supported class. Templates may have wildcards (*) that stands for any number of characters. For example, the supported component called TProgressBar has a template – *ProgressBar. The TProgressBar class will be set as an ancestor for classes whose name end with ProgressBar: TExProgressBar, TSmartProgressBar, TCxProgressBar and others.

The templates are listed in the VCL section of the Project Properties dialog. You can add a new template by editing the last string of the list. Templates are deleted from the context menu.

VCLTemplates_small

In addition to class templates, you can also specify property templates that can be edited and property templates that cannot. You can do this on the Localizable Properties and Non-Localizable Properties tabs. By default, the list of these templates is empty.
The program can import or export templates to (from) file(s) in XML and MLI (Multilizer). You can do this via Import and Export buttons.