LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I HIDE a RING CONTROL and replace with TEXT BOX?

Hello Enthusiasts:

I have a RING CONTROL on a UIR, and when the user selects item "OTHER", I wish to hide the ring control, and in its place display a textbox that they can manually fill in with data/information.

At a later time, I will want to hide this textbox, and "re-instate" the RING CONTROL. Furthermore, IF the user selects "OTHER" again from the ring control, it would just call this function all over again.

The flow of control seems straightforward, but I'm not quite sure which function calls would be appropriate.

How could this be accomplished? I'm using CVIv5.5.

Thanks in Advance!
0 Kudos
Message 1 of 3
(2,946 Views)
What you are wanting to do is called a combo box. We have a custom control that does exactly this all built in. You can find an example of that control under cvi\samples\userint\custctrl\combobox\combodemo.prj. The library for the custom control is under cvi\toolslib\custctrl\combobox.fp.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(2,946 Views)
Hi Chris,

Thanks alot. I'll check it out right away.
0 Kudos
Message 3 of 3
(2,946 Views)