LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Key Focus Color and/or Size?

Is it possible to change the size and/or color of the default black border that indicates a front panel object has key focus? I have an application that requires the user to be a larger than normal vieing distance from thwe monitor and the key focus is difficult to see.
 
 I've attached an example of a work-around I developed, but it's pretty unwieldy to implement for the large number of controls I'm using.
 
Thanks!!
 
--
Matt
 
0 Kudos
Message 1 of 7
(4,307 Views)

Matt,

I don't know of any way to change the color or size of that key focus default box.  However, one thing that you can do is to put a button behind the control that is going to be in key focus.  Then, use the key focus true/false value to make that button visible or not.  Then, the color of that button can be changed to whatever color you would like.  Hopefully, this will work for you. 

-jeff

Message 2 of 7
(4,287 Views)

Hi Jeff,

That's certainly easier than my method. Here's a little something I threw together as a demo.

Thanks!!

--

Matt

 

Message 3 of 7
(4,284 Views)

Matt,

That's awesome!!  Your example VI works great!! Smiley Happy

0 Kudos
Message 4 of 7
(4,276 Views)

Has anything changed since 2005? Can I modify the focus color or size now?

 

Greetings,

shb

Message Edited by shb on 12-02-2009 06:23 PM
0 Kudos
Message 5 of 7
(3,963 Views)

shb wrote:

Has anything changed since 2005? Can I modify the focus color or size now?


Nope.

 

But Darren submitted an idea in the LabVIEW Idea Exchange, so if it get enough votes it might show up in the next version of LabVIEW.

0 Kudos
Message 6 of 7
(3,941 Views)

Highlighting may be useful see here.

 

You could hit it repeatedly to really draw their attention.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 7
(3,935 Views)