07-25-2025 09:55 AM - edited 07-25-2025 09:57 AM
Here's a quick draft that shows the parallel helper loop dealing with tab blinking.
07-28-2025 04:12 PM
@billko wrote:
So is the goal to notify the user that something on that tab needs to be looked at but not actually go to that tab?
To notify the user to go to that tab when that tab isn't active.
07-28-2025 04:19 PM
@altenbach wrote:
@abvenk wrote:
Also, your method does not work if the other page is active. That is a crucial requirement.
Are replying to any particular post, because we cannot tell what "your method" means here.
I also don't know what you mean by "active". My code should work no matter what page is visible.
Sorry, I meant to say I tried both yours and @Kyle 's method (both nearly identical). My first attempt got me faulty results, where the tab blinked only when it was the active page (i.e. user is on the page).
But when I tried it again, it works as you said. The tab blinks even when its page is not active.
However, I have simply used a boolean on the tab to get the effect. I'm simply using the boolean blinking property.
This way I don't need to have a dedicated while loop for the tab blinking.
Still, would have been nice if tab blinking was a native property.
07-28-2025 04:27 PM
@paul_a_cardinale wrote:
Here's a way to do it.
Thanks! That's a clever way of doing it! 😊
I just put a boolean indicator beside the tab text. This way is minimal for me.
07-28-2025 04:31 PM
07-28-2025 06:16 PM
You can't get refnum of individual tab, that means you can change properties of individual tab at runtime, not just blink, the whole set of properties is missing.
but if you really want the feature, don't wait for NI. You can do it yourself.
If you don't have tabs, how do you implement it? Hint: take a look the Page Labels Display.
Yes. An enum. specifically a Radio Buttons.
You can customize the Radio Buttons to looks like tabs.
And then you can make individual button "tab" blink.
07-30-2025 07:33 AM
Note: Using the blinking property on a Boolean is a nice clean method. Be aware that the Blink colors are an
Environment setting. Only one color pair (FG/BG) is available. All vis and projects share this color pair.
----
I noticed that setting the tab color on Classic tabs is different from how the Modern tabs work.
To compare them side by side I made some test vis and included the NXG tab.
See the attached project (LV 2018).
Here is a summary of the testing:
Modern tab
- FGColor sets the tab color. BGColor has no effect.
Classic tab
- FGColor sets the border color. BGColor sets the tab color.
- Downside - The blinking border color is very hard to see if the tab is not selected.
NXG tab
- FGColor sets the border color. BGColor sets the tab color.
- Blinking FGColor to blink - the unselected tab is very visible
- Downside? - Blinking BGColor is not visible when the tab is not selected.
The NXG tab works just like one would expect (unlike the others).
This was a surprise since I have been using Classic tabs with Radio Buttons.
I will definitely use this on some projects (simplicity vs flexibility).
----
The LabVIEW Bleed Through Feature:
If you blink the tab color and you have any "Grayed out" controls, the color will bleed
through and look bad (Especially when you use red).
This applies to items that are "Disabled and Grayed Out" and to empty Array elements.
To Avoid Bleed Through:
- Use NXG (preferred) or Classic tabs and blink FGColor
- Or don't leave any "Grayed Out" items on the tab