unicodeLabel | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | button, graphic | ||||||
Summary | Specifies the UTF-16 string to be displayed on the specified object if its showName property is true. | ||||||
Introduced | 5.5 | ||||||
Deprecated | In LiveCode 7.0 the language was changed to handle unicode transparently. This means that language functionality which previously aided unicode text manipulation is no longer required. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: effective Property: label, encoding, menuHistory | ||||||
Description | Use the unicodeLabel property as a user-visible replacement for an ungainly name, or to change the visible name of an object when changing the actual name would require changing code that refers to it. Setting the unicodeLabel property of an object displays a UTF-16 string as a user-visible label. If a button's menuMode is either "option" or "comboBox", the button's unicodeLabel is the text of the currently selected menu option. Setting the unicodeLabel property changes the currently selected option. (To change the currently selected option while sending the appropriate message, set the button's menuHistory instead.) To create a multiple-line label for a button or graphic, place a return constant in the unicodeLabel. If an object's unicodeLabel or label is empty, the object's name property is displayed instead.
| ||||||
Tags | ui |