Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
So i have this simple Array list that covers my needs.
And after this one there is another one and another one untill i populate all the properties i need.
My problem is that i want somehow to go to end of the script or abort "the mission" if the user clicks the X button ( cancel button) at the top right corner. Maybe show a message prompt like, "do you want to abort?"
Now i have to click X at all forms to end the script.
Is there a simple command like If cancel.button pressed go to [label] or go to end of script ?
Thanks a lot in advance.
Dim oValueList1 As New ArrayList oValueList1.Add("option1") oValueList1.Add("option2") oValueList1.Add("option3") Dim oValue1 As String = InputListBox("Choose Material", oValueList1) iProperties.Value("Custom", "Materialtype") = oValue1
Solved! Go to Solution.