Comboboxes with strings
No edit summary
(Replacing message template with parser tag)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
How do I create a combobox (drop-down box) with several set strings?
How do I create a combobox (drop-down box) with several set strings?


Use the [[Sequence operator]] to create a collection of strings that are used as a [[tuple]] in a combo box.
Use the [[OCLOperators Sequence]] to create a collection of strings that are used as a [[tuple]] in a combo box.
[[File:Combobox with strings.png|none|thumb|476x476px]]
[[File:Combobox with strings.png|none|thumb|476x476px]]
In the image above, the "OrderColumnName" references a string variable in the ViewModel which changes when the user selects an option.
In the image above, the "OrderColumnName" references a string variable in the ViewModel which changes when the user selects an option.
[[Category:View Model]]
[[Category:View Model]]
{{Edited|July|12|2024}}

Latest revision as of 07:40, 17 June 2024

How do I create a combobox (drop-down box) with several set strings?

Use the OCLOperators Sequence to create a collection of strings that are used as a tuple in a combo box.

Combobox with strings.png

In the image above, the "OrderColumnName" references a string variable in the ViewModel which changes when the user selects an option.

This page was edited 95 days ago on 06/17/2024. What links here