LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Force display row in a multicolumn listbox

Solved!
Go to solution

Hello,

 

I am trying to increase or decrease the display content of a multicolumn listbox in my project.

 

When I reduce a lot of rows at once, what are displayed in that multicolumn listbox are only some blank rows.


In such cases, I would like to force the first line to be displayed in order to prevent people from mistakenly thinking that there is nothing to be displayed, when they can scroll to the top and see what they want to see.

 

So far I have not succeeded in forcing the row to be displayed.

Is it possible to do so?

0 Kudos
Message 1 of 3
(897 Views)
Solution
Accepted by topic author n_kusumoto

Hi n,

 


@n_kusumoto wrote:

I am trying to increase or decrease the display content of a multicolumn listbox in my project.

When I reduce a lot of rows at once, what are displayed in that multicolumn listbox are only some blank rows.

In such cases, I would like to force the first line to be displayed in order to prevent people from mistakenly thinking that there is nothing to be displayed, when they can scroll to the top and see what they want to see.

 

So far I have not succeeded in forcing the row to be displayed.


What exactly have you tried? Mind to attach an example VI (LV2019 preferred)?

 

How do you "reduce a lot of rows"?

Why should people "scroll to the top" when you would like to "display the first line"?

Have you tried to set the "Top Left Visible Cell" property of your MCL?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(880 Views)

Hi GerdW,

 

The first thing I should write is that I would have been able to reach my objective by your advice, set the "Top Left Visible Cell" property.

Thanks a lot!

 

I had tried to change "Value" and "ForcusRow".

 

> How do you "reduce a lot of rows"?

 

I have set the "ItemNames" in the MCL to a reduced number of arrays than before the change.

 

 

Why should people "scroll to the top" when you would like to "display the first line"?

 

This is because, although the above operations have reduced the number of rows that should be displayed, the actual number of rows displayed has not changed.

 

0 Kudos
Message 3 of 3
(861 Views)