Add the color picker to your application
To configure a custom color to apply to graphic objects in the
FactoryTalk Optix Application
, link the Color Picker
widget to a style sheet property.
TIP:
If you select the
Text color
property in the global properties of a style sheet, you can use the Color Picker
widget to change the Text color
property of all graphic objects in the project at runtime. Link the Color Picker
a property of the stylesheet. - SelectTemplateLibraries.
- InTemplate Libraries, selectWidgets.
- DragColor PickerfromTemplate Librariesinto a container in theUIfolder ofProject view. An instance of the widget appears inProject view.
- SelectClose.
- With theColor Pickerobject selected, inPropertiesinColor, selectSet Alias.
- Select the property in the UI style sheet to link to theColor Picker.
- ClickSelect.
Provide Feedback