LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mads

Keep items when replacing ring (or enum) with listbox (and vice versa)

Status: New

Let's say I have a ring control filled with lots of of items, but I decide that it would be better for the user if he could see all the options without having to pull down the ring. I right-click on the ring control, choose replace and select a Listbox. Now I have an empty listbox though, and I have to recreate the list. Most of the times when I do this I want the items I had in the ring control to transfer to the new control, like this:


replace with content carried over.png

 

The transfer of items should work both ways, and apply to similar replacements, like a change from ring to enum e.g.

It would be nice to have a way to choose whether to keep the items or not of course (key control while doing the replacement or a dialog asking if you want to keep the items), instead of having to delete the items afterwards if you did not want them, but I am not sure it would be needed that often. I would be perfectly happy for the default to just keep the items.

PS. Writing a quick drop shortcut plugin is one existing way of getting this functionality without having to wait for NI to implement it in the IDE...Perhaps someone has already done that (?). This request is for it to become (or be a part of) the default behavior though.

3 Comments
Mads
Active Participant

Ring<-->Enum replacements already work the requested way, so the title is a bit incorrect, but it does not work that way when they are replaced with listboxes e.g. (for some reason I am unable to edit the title/idea now though even though it was just posted...)

wiebe@CARYA
Knight of NI

New title: Keep items when replacing ring (or enum) with listbox and vice versa

AristosQueue (NI)
NI Employee (retired)

I asked moderator to fix title. If there are other edits, request from moderator.