Hi all,
I came across an unexpected behaviour of WebSegmentedControl. If you implement the Action event and do some stuff there (like calling methods etc.), its ListIndex gets changed only after all the event’s code has been executed.
That leads to weird behaviour like if a method called needs to know the new ListIndex but it get’s the old one since the event hasn’t finished executing yet. Is that by design or shouldn’t it change the ListIndex at the very beginning of the event?
Example: https://dl.dropboxusercontent.com/u/106712747/SegmentedControl.xojo_binary_project
Best,
Alex