LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Text Selection on FP Indicator

Solved!
Go to solution

This is asked in the spirit of making an appealing UI. I have a text box that displays various bits of data. That part works fine. What I'd like to do is make it impossible for the user to select the text within the box. A mouseclick inside the box would behave like a mouseclick on a vacant part of the UI window.

 

Right now, I'm fooling around with the "Get Image" invoke node with the intent of creating an image of the indicator and then displaying it instead. Is there an easier way?

0 Kudos
Message 1 of 4
(3,819 Views)
Solution
Accepted by topic author B_Strange

Just disable it.  If you always want it that way, then right-click on it and choose Advanced->Enabled State->Disabled.  There is a similar property node if you want to do it programmatically.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(3,797 Views)

Crossrulz' answer is better, but this is what I immediately thought of:

 

Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 4
(3,792 Views)

@crossrulz wrote:

Just disable it.


I can't believe I didn't try that. Thanks.

0 Kudos
Message 4 of 4
(3,781 Views)