Good morning all,
I have created a variable, where if you press the arrow button it will get the values on the left and add it to a text label. It will then add it to the gallery on the right.
My aim is to when clicking the arrow from the gallery on the left, either the value on the left should disappear so it cannot be selected again or it will add it to the variable (text label) but only once and if removed it should remove the value.
I hope this makes sense?
In short the the list on the left when selected should only be allowed to be selected once to be put in the right gallery and if removed from the right gallery should be made available to be selected again for the right.
Any help would be highly appreciated.
Hi @TheBest355,
Before using the text variable, you could use collections to organise values on the left and right, similar to the following, making it easier to display them in the left and right columns:
ClearCollect(colComboBoxOptions,
{
Name:"PRD123",
Column:0 // Left column.
},
{
Name:"PRD234"
Column:1 // Right column.
}
// etc
);
After using this approach, you could then save the values to text variables if required.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Connect with me online.
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional