LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to modify the system colour palette?

I'm trying to remove (or at least minimise the visual impact of) the grey border present when a subVI smaller in size than the main VI (or screen in general) is run. The subVI is run as modal with all dialog borders/buttons turned off. As far as I can see there are two options for this as LV will not natively allow this bordered to be turned off:

 

1 - using Windows APIs create a mask to cover the border - time consuming and not overly robust as I may need to move panels around

2 - change the colour from grey to a more suitable colour to match my theme - as far as I can tell the grey colour of the border is defined from within LV ( I've tried playing with the Windows colour scheme to no avail) and whilst a number of display colours can be modified, the fundamental LV system colours cannot.

 

Any suggestions as to a solution will be greatly received.  

OG
Research Engineer



0 Kudos
Message 1 of 16
(3,183 Views)

The "system colors" in LabVIEW depend on the windows theme, and thus cannot be changed directly from within LabVIEW. All other colors can be changed.

 

I don't quite understand what you mean by "grey border". Are all your panels maximised to the screen? Can you show us a screenshot?

 

You can color the background of a front panel to anything you want.

0 Kudos
Message 2 of 16
(3,175 Views)

If you're talking about having one window on top of the other, then the line you're seeing is the window border and that's controlled by the OS. You probably can change it, but I don't think you need to - if you want the subVI to be displayed inside the calling VI, place a subpanel on the FP of the caller, use the static VI reference from the application control palette to get a reference to the subVI and feed that into the subpanel. The subVI will now be inside the main VI (although it won't be modal).


___________________
Try to take over the world!
0 Kudos
Message 3 of 16
(3,163 Views)

Picture attached. This is just a simple VI which is executing with no toolbars displayed and in modal mode, however you can see that this leaves a whitish-grey border surrounding the VI which I want to disappear or at least change the colour of. Cheers

OG
Research Engineer



0 Kudos
Message 4 of 16
(3,162 Views)

Yeah that won't really work for me as I need the modal-ness! The reason I believe the colour property to be defined by LV is that by modifying the Windows theme I'm able to have the border look as in the attached pic however as soon as I execute the VI again, the border reverts to the whitish-grey colour.

 

OG
Research Engineer



0 Kudos
Message 5 of 16
(3,157 Views)

Yeah, I don't think you can change the color of this grey border, but also you can customize all other colors. 

Is this one really annoying? I mean, this really have impact in your application?

Mondoni
0 Kudos
Message 6 of 16
(3,128 Views)

If I remember right, in vary ancient LabVIEW versions (last century) it was possible to make completely frameless windows. Even today, other software can still do it.

 

Maybe it is time to post an idea in the ideas exchange to add an option to the "Window Appearance" property dialog: "Show window frame". 😉

Message 7 of 16
(3,111 Views)

From memory so try it before you buy it.  If you make the window modal it will get that border, but if you make it floating then it should be borderless.  This is not last century, but last decade (LV9).

0 Kudos
Message 8 of 16
(3,096 Views)

@Darin.K wrote:

From memory so try it before you buy it.  If you make the window modal it will get that border, but if you make it floating then it should be borderless.  This is not last century, but last decade (LV9).


Just tried in (LV2012, Windows 7) and the border shows with all settings (default, modal, floating).

 

(If the FP is maximised to the screen, the border is outside the visible monitor area and thus not shown)

0 Kudos
Message 9 of 16
(3,087 Views)

Weird.  LV12 + Windows 7.  Basically I chose Dialog for the window type, then customize to remove the title bar and select modal/floating.

 

floater.png

0 Kudos
Message 10 of 16
(3,081 Views)