Method
|
Description
|
Add( enum1, enum2 )
|
Adds (+) the underlying values of enum1 and enum2 and returns the sum as a new instance
|
Subtract( enum1, enum2 )
|
Subtracts (-) the underlying value of enum1 from enum2 and returns the difference as a new instance
|
AreEqual( enum1, enum2 )
|
Returns TRUE if the underlying values of enum1 and enum2 are equal (=); otherwise, returns FALSE
|
AreNotEqual( enum1, enum2 )
|
Returns TRUE if the underlying values of enum1 and enum2 are not equal (<>); otherwise, returns FALSE
|
IsGreater( enum1, enum2 )
|
Returns TRUE if the underlying value of enum1 is greater than (>) enum2; otherwise, returns FALSE
|
IsLess( enum1, enum2 )
|
Returns TRUE if the underlying value of enum1 is less than (<) enum2; otherwise, returns FALSE
|
IsGreaterOrEqual( enum1, enum2 )
|
Returns TRUE if the underlying value of enum1 is greater than or equal to (>=) enum2; otherwise, returns FALSE
|
IsLessOrEqual( enum1, enum2 )
|
Returns TRUE if the underlying value of enum1 is less than or equal to (<=) enum2; otherwise, returns FALSE
|
And( enum1, enum2 )
|
Applies a bit-wise AND operation between the underlying values of enum1 and enum2, and returns the result as a new instance1
|
Or( enum1, enum2 )
|
Applies a bit-wise OR operation between the underlying values of enum1 and enum2, and returns the result as a new instance2
|
Xor( enum1, enum2 )
|
Applies a bit-wise exclusive OR operation between the underlying values of enum1 and enum2, and returns the result as a new instance3
|
Complement( enum )
|
Applies a bit-wise complement operation to the underlying value of enum, and returns the result as a new instance4
|
USING System.Windows.Forms.* FROM ASSEMBLY.
USING Progress.Util.* FROM ASSEMBLY. DEFINE VARIABLE rButton AS Button NO-UNDO. DEFINE VARIABLE rEnum AS System.Enum NO-UNDO. ASSIGN rButton = NEW Button( ) rEnum = EnumHelper:Or(AnchorStyles:Bottom, AnchorStyles:Right) rButton:Anchor = CAST(rEnum, AnchorStyles). MESSAGE rButton:Anchor VIEW-AS ALERT-BOX. |