NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Delete Listbox Row without Affecting Format of Other Cells

VERSION 1

Created on: Feb 28, 2009 10:17 PM by Jennifer_R - Last Modified:  Feb 28, 2009 10:36 PM by Jennifer_R

This VI programmatically deletes a row from a multicolumn listbox while maintaining the formatting of the other cells. Properties such as background color, font, and justification are properties of each cell.  If a row is deleted and all items are shifted up by one row, the cell properties do not automatically shift with the text.  However, this can be accomplished using property nodes for the listbox.

 

To test the code, set Row to Delete to a row that currently exists in the listbox.  Since it is zero-indexed, the first row is row 0.  Run the VI.  Notice that the selected row is deleted, and all other items keep their original formatting.

 

Delete Row from Listbox BD.PNG

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...