From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Defer Multicolumn Listbox Update

Hi All,

 

I have a rather large multicolumn list box that I use to display tabular data. It's about 20 rows long and about 100 colums wide. I also paint the cell background different colors depending on the data that's in there.

 

It can take a long time, ~1sec to update the listbox, and I can see the colors being painted sequentially. Can I delay the control update of the listbox so it paints everything and then redraws once?

 

- Ken

0 Kudos
Message 1 of 4
(2,256 Views)

Ken,

 

User the Defer Panel Updates property.  It will disable updated for all controls until you turn it off.

0 Kudos
Message 2 of 4
(2,254 Views)

You asked this question yesterday and already got an answer.  Twice yesterday.

 

Why did you ask again?

0 Kudos
Message 3 of 4
(2,247 Views)

Hey Ravens Fan,

 

I'm really sorry about that. I didn't realize they had both been posted. I think they got lost somewhere in a sea of tabs.

 

- Ken

0 Kudos
Message 4 of 4
(2,234 Views)