LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make the cell of the listbox blinking?

I have a multi column listbox and I would like to blink a cell or a row of that listbox.
Please anyone show me how to do it.
Thanks in billions!!!
0 Kudos
Message 1 of 11
(5,090 Views)
See the attached VI in LV 7.1. Smiley Happy
- Partha ( CLD until Oct 2027 🙂 )
Message 2 of 11
(5,081 Views)
That blinks the entire control, not the cell, or row. Also, CellFG has been deprecated in LabVIEW 8.2. It also doesn't work in LabVIEW 8.2.

To blink a cell you have to do it yourself by toggling the cell's background color. In other words, set the background color to your hightlight, wait a bit, and then set the background color back to what it was. The attached example is a modified version of the above showing this. This is in LabVIEW 8.2.
Message 3 of 11
(5,055 Views)


 


@smercurio_fc wrote:
That blinks the entire control, not the cell, or row.

My VI works correctly when run in 7.1 Smiley Happy, but behaves as you told in 8.5. Smiley Surprised

I dont know why! Smiley Indifferent

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 11
(5,031 Views)
Probably because it behaves incorrectly in 7.1.1. It's supposed to blink the whole control since the property is for the control, and not the cell. Thus, the blinking of the whole control is correct in 8.x.
0 Kudos
Message 5 of 11
(5,005 Views)

I don't know why you think it would be incorrect to blink a cell with that property if an active cell is selected right above in the same property node.

If that actually works in 7.1 (not tested myself), I would asssume that there is either a possible bug in newer versions that should be investigated or the behavior was intentionally changed for some good reason.. 😉

0 Kudos
Message 6 of 11
(5,000 Views)
Just because "ActiveCell" is selected right above that property node doesn't mean it should blink the cell instead of the control. Are you saying that if "Blinking" is before the ActiveCell then it should blink the control instead of the cell? This would mean the behavior is based on where it appears in the order. That doesn't make much sense. Besides, the Blinking property is in the control section, and appears with all controls (as far as I know), so it's a property that should apply to the whole control, and not the cell.
Message 7 of 11
(4,992 Views)


@smercurio_fc wrote:
Just because "ActiveCell" is selected right above that property node doesn't mean it should blink the cell instead of the control.
I am not arguing one way or the other. I am just saying if it worked that way before it should continue to work that way. 🙂
 
But yes, logically there should be a new blinking property on the "active cell" property hierarchy, such as "cell.blinking", similar to the cellBG in the example.. 
 

 
Message 8 of 11
(4,985 Views)
altenbach wrote

I am just saying if it worked that way before it should continue to work that way
Unless it was wrong in the earlier versions. Smiley Wink I did look at the Upgrade Notes for LabVIEW 8 and 8.2 and saw no mention of a change in the behavior of the "Blinking" property, so perhaps someone from NI can shed some light on when it changed and why.

altenbach also wrote

logically there should be a new blinking property on the "active cell" property hierarchy
I definetely agree this would be a nice thing to have. I submitted a suggestion to the Product Suggestion Center.
0 Kudos
Message 9 of 11
(4,965 Views)
As a matter of fact, in LV 7.1, the behaviour of the Blinking property changes depending on the relative position Actice Cell ! However, even when after, the behaviour is messy, with the blinking affecting not only the active cell, but also the selected row. Partha's hemi-solution can't be used reliably. Seems that someone tried to create the functionality smercurio has asked for, but failed halfway... and this aborted work has been cleaned out in LV 8.
Chilly Charly    (aka CC)
Message 10 of 11
(4,958 Views)