LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically delete items in ring control

Good morning
 
How to delete all the items in menu ring when i start the program(the list should be empty)
 
Thanks
0 Kudos
Message 1 of 5
(3,737 Views)
ClearListCtrl() or DeleteListItem()

0 Kudos
Message 2 of 5
(3,731 Views)

Normally CVI ring controls are empty at program start, unless you have manually added some elements in the UIR editor that you may want to delete in the IDE. In any case cdk suggestions are the programmatic way of clearing the list any time you want iin your program.



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 3 of 5
(3,716 Views)
Thanks Roberto and cdk
0 Kudos
Message 4 of 5
(3,712 Views)


Veeru wrote:
Good morning
 
How to delete all the items in menu ring when i start the program(the list should be empty)
 
Thanks



In case you are programming it with LabVIEW you can pass an empty array of string to the property Strings [] of the ring.


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 5 of 5
(3,704 Views)