This element can be used to create custom strings.
See Attributes Common to All Elements.
Name | Value Type | Default Value | Description | Comment | V. | Exp. |
---|---|---|---|---|---|---|
name |
Empty. |
Displayed named of the string. |
|
1.4 |
No | |
comment |
Empty. |
Comment about the string. |
|
1.4 |
No | |
default |
0 |
String default value. |
|
1.4 |
No | |
persistent |
false |
Sets the persistency of the string. |
When this property is set to 'true', the string will be saved when closing the user interface and the value will be restored next time the user interface is opened. |
1.4 |
No | |
Read Only Attributes | ||||||
length |
integer |
length of the string. |
2.0 |
The following example creates a string which default value is "Hello!":
<?xml version="1.0" encoding="utf-8" ?> <SKIN language_version="1.1"> <STRING name="my string" default="Hello!" comment="this is my custom string" /> </SKIN>