LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
carls__

Easier access to class override functionality

Status: New

When working with classes, you can modify "Access Scope" for VIs either by right-clicking on the VI, or by going to Items Settings section of class properties.

 

carls___0-1590686557507.png

 

However, in order to change override settings for a VI, you must go to the class properties page.  These are not accessible through the right-click menu on VIs.

carls___1-1590686651627.png

 

It'd be quite convenient if these override options were also available through the right-click menu.

3 Comments
AristosQueue (NI)
NI Employee (retired)

The survey of user apps that I've done a couple times suggests these settings are rarely changed. I'm not sure that elevating them to the project menu is a good use of the menu real estate (too many menu items is an issue that already plagues LV usability).

 

But my survey is a relatively small sample -- enough to be useful but not conclusive by any means. I'm curious to see how the kudos develops for this idea. It may be that these settings are used more than I suspect.

carls__
NI Employee (retired)

That's a fair point about cluttering menu real estate. And I wouldn't be surprised if I use this particular setting more often than most people -- although I do use it a decent amount to define abstract base classes.

AristosQueue (NI)
NI Employee (retired)

How much of that abstract base class work is going to be replaced with interfaces? Don't answer that -- I don't expect any of us to know the answer to that. But a large part of it should be, based on my experiences with other programming languages. If so, interfaces have the "must override" setting reversed by default, so you might not be in there as much.