(Windows only; GUI for .NET only)
A helper class that provides a set of static methods you can use to perform operations on .NET enumeration types in ABL.
USING System.Windows.Forms.* FROM ASSEMBLY. USING Progress.Util.* FROM ASSEMBLY. DEFINE VARIABLE myButton AS Button. DEFINE VARIABLE myStyle AS System.Enum. myButton = NEW Button(). myStyle = EnumHelper:Or( AnchorStyles:Bottom, AnchorStyles:Right ). myButton:Anchor = CAST( myStyle, AnchorStyles ). /* Displays "Bottom, Right" */ DISPLAY STRING( myButton:Anchor ) FORMAT "x(20)". |