LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Hide Last Item When Running" property

This is a pretty trivial question...

I just noticed a property for Text Ring controls: "Hide Last Item When Running". Can anyone explain the standard use case for this? Why is this a useful property? And where is the property for "Hide third from the last item when running"?


DaveT

-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 1 of 14
(821 Views)

It sure isn't obvious what that can be used for. I always read about all changes in LabVIEW, but I must have skipped putting this in my memory because I did not understand when that could be useful. Darren's explanation in that thread should have been in the upgrade notes.

Certified LabVIEW Architect
0 Kudos
Message 3 of 14
(749 Views)

A text ring always have a default value, with this property you can set it to the last, hidden, value and thus force the user to make an active selection.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 14
(722 Views)

@Yamaeda wrote:

A text ring always have a default value, with this property you can set it to the last, hidden, value and thus force the user to make an active selection.


So you can hide "Make a selection"?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 14
(704 Views)

@billko wrote:

@Yamaeda wrote:

A text ring always have a default value, with this property you can set it to the last, hidden, value and thus force the user to make an active selection.


So you can hide "Make a selection"?


Yes, so "Make a selection" is hidden from the items in the list when you click on the menu.

 

The thing is, It looks good in Darren's example, but not for me. This is what Darren gets:

thols_2-1749017806153.png

 

If I make a text ring, add some items, set the last as default and run, I get this look:

Before click on Ring:

thols_3-1749017922969.png

After click on Ring:

thols_0-1749017689682.png

The items menu are above the menu, and also covers it. Looks bad.

 

These are the values:

thols_1-1749017716843.png

 

"Code": 

thols_4-1749018039894.png

 

 

 

 

Certified LabVIEW Architect
0 Kudos
Message 6 of 14
(664 Views)

 

The thing is, It looks good in Darren's example, but not for me. This is what Darren gets:

 


In the example there is a System Ring, which actually works well (LV2021).

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 7 of 14
(652 Views)

@thols wrote:

After click on Ring:

thols_0-1749017689682.png

The items menu are above the menu, and also covers it. Looks bad.

 

That "above or below" is annoying. It seems to depend on the location of the control along with the number of items in the text ring. For example, if the control is near the bottom of the screen and the item list would extend below the screen, it appears above the control, otherwise it appears below the control. 

 

Below are screenshots of the same control, just differing by the number of items.

mcduff_0-1749054411002.pngmcduff_1-1749054466356.png

 

Message 8 of 14
(627 Views)

@mcduff wrote:

@thols wrote:

After click on Ring:

thols_0-1749017689682.png

The items menu are above the menu, and also covers it. Looks bad.

 

That "above or below" is annoying. It seems to depend on the location of the control along with the number of items in the text ring. For example, if the control is near the bottom of the screen and the item list would extend below the screen, it appears above the control, otherwise it appears below the control. 

 

Below are screenshots of the same control, just differing by the number of items.

mcduff_0-1749054411002.pngmcduff_1-1749054466356.png

 


Forgot to say that I had plenty of room below the control and it still is always above, which is unexpected. I cannot get it to show below like it should.

 

The System ring works as expected though. (The "Fuse Design" text ring and "silver" does not.)

So we are stuck using a system ring or can that be fixed/circumvented somehow for the others? (I'm sorry I realized I'm hijacking the thread, but its kind of related.)

Certified LabVIEW Architect
Message 9 of 14
(603 Views)

It seems it defaults to Below, but if it won't fit it'll place it Above. It might be a bug in the Modern one, is it the same in Classic and Silver?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 10 of 14
(595 Views)