Jump to content

Enum Style Menu Ring


EJW

Recommended Posts

I like to use enums in my programming because of the text output they have when using a case structure as opposed to a menu rings numeric output.

Is there a way to make a control or xcontrol that uses the menu ring for the control, but outputs an enum style value??

I know this could probably be accomplished by using the menu rings string property but i'd rather have a separate control i can implement.

Link to comment

Which property of the menu ring are you refering to? Is it the way it looks or the fact that you can change it dynamically?

Obviously, you can't change strings in enums dynamically because they're part of the data type.

If you want a similar control which outputs strings you can use the combo box (from the string palette).

If you want an enum which looks like a ring you can use the system enum. If you want LabVIEW style controls, I think you will have to do some customizing and copying of images to get the look you desire.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.