In Xojo 2021R2 binary enumerations were introduced. These Enums must be declared in a module and are treated by the compiler as a class. Learn to create an Enum for Days of the Week and demonstrate the use of that by creating a custom segmented button control.
Xojo 2021r2 introduces a couple of enhancements to Enumerations in Xojo. The enumeration editor now shows a preview of what the value will be so there’s no more guessing or counting. In addition, we’ve added a new Binary option which allows you to automatically create sets that aren’t mutually exclusive.
Depending on your style of coding the Enumeration Editor might be used regularly or not a lot. But, either way it probably contains a secret or two waiting for you.