How to set a return type of a method to "Enum" Or "EnumType"

Hi All,

I wanted to write a method which has the return type of “Enum” or “EnumType”. And then assign this method as data method to a CheckBox control on a form.

Thanks in Advance.


You can use a display/edit method - and add that to the form control.


Can you please let me know that how to return an “Enum” OR “EnumType” value from a method?



Display Example example1()///Example is your Enum


Example example;


return example::Example1;/// Returning Value



Thanks so much. It helped me.