In PowerBuilder .NET, you can create local enumerations for an object in an Enumeration painter that you open from the object painter.
To define a local enumeration using the PowerBuilder .NET user interface, first open an object painter that has a local Enumeration painter attached. You can define local enumerations for these kinds of objects: custom and standard class objects, custom, standard and external visual objects, windows, and menus.
In the Enumeration painter, you can specify entry name, value, and comments for each item that you enter for an enumeration type.