- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
The problem here is that i would like to fill in the property value a single string text of the selections the user makes
at the dropdown and presses ok button.
For example, if the user selects and clicks ok at PRIONI option and then at next pop up selects TORNOS and hit ok and then closes window,
the iproperty should look like this:
NyfanRooting PRIONI, TORNOS as a single string text value.
At this moment it only saves the last clicked selection but not the previous ones.
Do you know a way to fix and save all selections? Bellow is the code i am using now:
I feel i am close but i cant fix it yet..
Dim oTypes_Array As New ArrayList
oTypes_Array.Add("PRIONI")
oTypes_Array.Add("TRYPANI")
oTypes_Array.Add("TORNOS")
oTypes_Array.Add("MONTAZ")
oTypes_Array.Add("FREZA")
Dim oSelected As New ArrayList
While True
oTypes_Selected = InputListBox("CHOOSE:", oTypes_Array, oTypes_Array(0), oRuleNo, X_oProp_Array)
If IsNothing (oTypes_Selected) Then Exit While
oSelected.Add(oTypes_Selected)
End While
If oSelected.Count > 0 Then
For Each oText In oSelected
iProperties.Value("Custom", "NyfanRooting") = oText
next
End If
Solved! Go to Solution.