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.

/Ashlesh

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

Hi,

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

Thanks,

/Ashlesh

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

{

Example example;

;

return example::Example1;/// Returning Value

}

Hi,

Thanks so much. It helped me.

Regards,

/Ashlesh