Language Selector
Component Palette Icon
The Language Selector component gives an easy way to set the user's locale to control display of dates, times, numbers, and the language used for translations.
Properties
Name | Description | Property Type | Scripting | Category |
---|---|---|---|---|
Antialias | Draw with antialias on? Makes text smoother. | boolea | .antialias | Appearance |
Background Color | The background color of the component. | Color | .background | Appearance |
Border | The border surrounding this component. NOTE that the border is unaffected by rotation. | Border | .border | Common |
Font | Font of text on this component. | Font | .font | Appearance |
Foreground Color | The foreground color of the component. | Color | .foreground | Appearance |
Mouseover Text | The text that is displayed in the tooltip which pops up on mouseover of this component. | String | .toolTipText | Common |
Name | The name of this component. | String | .name | Common |
Selected Locale | The display name of the currently selected locale. (Read only. Usable in bindings and scripting.) | String | .selectedLocale | Uncategorized |
Selection Background | The background color of a selected cell in the dropdown list. | Color | .selectionBackground | Appearance |
Visible | If disabled, the component will be hidden. | boolean | .visible | Common |
Scripting
Scripting Functions
This component does not have scripting functions associated with it.
Extension Functions
This component does not have extension functions associated with it.
Event Handlers
Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page
Customizers
This component does not have any customizers.
Example
Select Between Languages
No property changes were made to this component for this example, but there must be at least one Spanish translation in the system.