The Object Browser window in the IDE contains a tab named "Enumerated" that lists all of the enumerated types supported by the PB version. As PB evolves, this list grows (2019 R2 contains 9 enumerated types not available in PB 2017 R2, for example).
I've created a PBNI extension DLL that contains functions for listing the item names and/or numeric values for any enumerated type, to assist me when I am dynamically coding DataWindow syntax, for example, but I would also like to be able to obtain a list of all of enumerated types...like the Object Browser does.
Does anyone know of a way to do this, other than entering all of the names by hand?
John
What surprised me is item order inside array = EnumerationDefinition.Enumeration. They are "Item.Name desc". I never would have guessed. In any case all enums I tested had min. value = 0. Also they all are defined in PBMVM190.dll (tested in PB 2019R). I wonder whether I can do LibraryDirectory of PBVM190.dll . . .