LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing a multicolumn box

Hi,

I am writing strings to a multicolumn textbox and at some points in my
program, I would like to be able to clear the whole box and start over. Is
there any way to programatically do that ?

Thanks !

/Soren
0 Kudos
Message 1 of 4
(2,826 Views)
You can try to write an empty array the Item Names property.

Raymond
0 Kudos
Message 2 of 4
(2,826 Views)
Thanks, that cleares the tables for text, but I actually need to clear them
for color as well. Any ideas on that as well?

TIA

- Soren


"RayE111" wrote in message
news:20021113204153.28577.00000018@mb-cm.aol.com...
> You can try to write an empty array the Item Names property.
>
> Raymond
0 Kudos
Message 3 of 4
(2,826 Views)
Soren,
To set the background color of a multicolumn listbox programatically, just use the CellBG property node.
The attached examples shows how to use it.
If you want to change the text color, use the CellFG property.

Zvezdana S.
National Instruments
0 Kudos
Message 4 of 4
(2,826 Views)