To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI programmatically deletes a row from a multi-column list box while maintaining the formatting of the other cells.
Description
Properties such as background color, font, etc. 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 list box. To test the code, set Row to Delete to a row that currently exists in the list box. Since it is zero-indexed, the first row is row 0.
Requirements
LabVIEW Full Development System 2012 or compatible
Steps to Implement or Execute Code
1.Run the VI.
2. Notice that the selected row is deleted, and all other items keep their original formatting
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
For single column listboxes http://forums.ni.com/t5/LabVIEW/Delete-clicked-item-from-Listbox-Single-Column/td-p/3261341