Add and configure a combo box
Add a combo box and define dynamic links to create a style sheet picker. Use the combo box to change the style of your application at runtime.
- InProject view, right-clickMainWindow (type)and then select .
- InProperties, create dynamic links between:
- Modeland .
- Display value pathand{Item}@BrowseName
- Selected value pathand{Item}@NodeId
- Selected valueand{Session}/StyleSheet@Pointer@Value
For more information about dynamic links, see Create dynamic links.
Provide Feedback