LMartin Posted February 22, 2011 Report Share Posted February 22, 2011 Hi guys, I would like, to add a row to a Multicolumn Listbox programmatically, to put a new row at the top of the list (but it can be anywhere). I've checked in the property node, and in invoke node, but none of them offer a node which enable to add a new row. Is there a way to do that, like when the .vi is stopped? ('cause the said function i'm talking about can be meet, by right clicking on the multicolumn box, and it just moving down the values, and their BackGroung color, "What i am looking for"). Thanks to any suggestion. Martin. Quote Link to comment
Daklu Posted February 22, 2011 Report Share Posted February 22, 2011 I would like, to add a row to a Multicolumn Listbox programmatically The 'ItemNames' property returns a 2d string array of all the data in the mc listbox. Read it, add the row of data to the array, and write it back to the ItemNames property. McListboxExample.vi Quote Link to comment
LMartin Posted February 22, 2011 Author Report Share Posted February 22, 2011 Yes, this is running, But how do you keep the BackGround Color of the moved cells ? Thanks again. Quote Link to comment
Daklu Posted February 22, 2011 Report Share Posted February 22, 2011 But how do you keep the BackGround Color of the moved cells ? I've never used background coloring, but I believe you'll have to recolor the cells programmatically. Michael posted an illustration of how they accomplished it in VIPM here. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.