Message 1 of 3
Setlist bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following basic code-
MultiValue.SetValueOptions(True, DefaultIndex := 0) If Colour = "Red" Then MultiValue.SetList("Thickness", 0.55, 0.75, 1.0, 1.25) ElseIf Colour = "Blue" Then MultiValue.SetList("Thickness", 2, 3, 4, 5) ElseIf Colour = "Green" Then MultiValue.SetList("Thickness", 0.1, 0.2, 0.3, 0.4, 0.5) End If
Red and blue work as intended, when i pick blue, the multivalue picks the first option, same for red.
However, when I select green, it picks the last option. Have i misinterpreted the line "MultiValue.SetValueOptions(True, DefaultIndex := 0)" or is it not doing what its supposed to when it comes to green?