Class name: CXB_MULTIPLE_STRING
Description
This class saves any multilingual text. With this, ClassiX® supports multilingualism within the window interface and in the model data, pooling as much text as required.
Instantisation
To create an object of this class with InstantView®, the single texts have to be integrated into the following construct: T()
A multilingual text could look as follows: T("Deutsch", "English")
Screen display
InstantView® statement: MLString
Example
The following example is a mini project with only one input field for multilingual text in a window.
Pushing <RETURN> in this field, fills the field with a multilingual text "Hallo" in several different languages. Inside the input field, it is possible to change among the different languages with <Picture up> and <Picture down> .
Window(MLStringWindow, 10, 10, 300, 50, T("MLText Fenster", "MLString Window"))
{
MLString(MLText, 10, 10, 100)
[
SELECT: T("Hallo", "Hello") PutValue
]
}
Operators
The following operators are available for an object of this class:
| operators | description |
|---|---|
| + | arithmetics |
| >, <, = | comparisons |
In addition to this, the InstantView® statements left, right, mid and truncate are available for multilingual text modification.