LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ring control, location on screen changes depending on number of items in the ring control.

I have put a ring control on my UIR. If I have ±25 items the ring opens under the ringcontrol. If I have ±34 items the ring opens up right of the ringcontrol (part of the information in the ring control is not visible, only the first characters are visible).
How can I force the ringcontrol to open up a selection window if there is not enough space under the ringcontrol to open it.(See the attached UIR and activate the ringcontrol. Part of the text is gone at the right of the screen.
0 Kudos
Message 1 of 2
(2,796 Views)
I saw the problem you told us; I also saw that if I add some more lines to the control, when I click on it it automatically opens a popup window to select an item on it. It's not one of the standard CVI popup windows and I don't know how to call it instead of the drop-down menu: maybe NI people can help you if this way you can manage your problem.

A workaround to limit this problem is to transform the ring control into two controls: a string indicator and a popup menu ring (the button with the down arrow only): putting the popup menu ring on the left of the string control can help you, since you can arrange the ring position so that the drop down menu remains visible. Once the user selects an item from the list, you can update the string indicator
to display the text of the item selected.

I attach a modified version of your UIR to show this solution.

Hope this helps
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,796 Views)