Long time no see guys!
So a bit of background info:
I have a custom event in which we read all the data I need and process it, and one drawing event. At the start of the custom event all lists are cleared, all numbers are reset, and my only boolean is set to true (it's the very first thing that happens actually). After that, some values are added to the lists, which is in this case only adding one text item "None" to the options list.
Here is the tricky part. As you can see in the picture below the value of item #0 is "None" (first line), the second line should return "TRUE" if the statement (item #0 = None) is correct, which is since we saw that in the first line. The third one is a boolean which is set to "FALSE" if item #0 = None.
So if we know that Item #0 is "None", then why isnt the statement returning TRUE, and thus setting the last boolean to FALSE?
I have been trying to solve this mystery for 2 days now, but I just cant find the issue. I have triple checked the order of commands, and it is all correct. No values are changed in the draw event, only in the custom event which I double checked is only being called once. The order is: (I cant show a screenshot since this is client work, sorry =p )
- Set HasOptions to TRUE.
-Clear all lists attr.
-Clear all numbers attr.
- Add text "None" to _OptionsList
- If item #0 = None, set HasOptions to FALSE.
Any ideas?
Cheers!