Labels in IlvLabelMatrixItem are not translated by the .dbm file

Article ID: 1828
Last updated: 25 Jun, 2012
Article ID: 1828
Last updated: 25 Jun, 2012
Revision: 1
Views: 1486
Posted: 22 Jun, 2012
by --
Updated: 25 Jun, 2012
by Meurgues A.

Question

Why labels in IlvLabelMatrixItem are not translated by the .dbm file?

Answer

The IlvLabelMatrixItem implementation is intended for labels not requiring translation. It displays the string given as parameter as it is, without any modification.

The IlvGadgetItemMatrixItem object provides such translation mechanism.

It is also possible to build an
IlvLabelMatrixItem subclass that returns the translated version of the string instead of the string itself. The attached sample illustrates how this can be achieved.

IlvMessageLabelMatrixItem.cpp


This article was:   Helpful | Not helpful
Report an issue
Article ID: 1828
Last updated: 25 Jun, 2012
Revision: 1
Views: 1486
Posted: 22 Jun, 2012 by --
Updated: 25 Jun, 2012 by Meurgues A.
Attached files

Also listed in


Others in this category