LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

background Picture area of screen works like a button

Two other Champions beat me to this, but yes, that was exactly what I was doing.  What you wanted was to be able to designate a rectangular region of your VI's Front Panel that acted like a Boolean.  What is the simplest thing that acts like a Boolean, and is rectangular?  A Rectangular Boolean.  Is it simpler to understand interacting with a Boolean to do Boolean things than to use "Button Press" Events over non-button regions of the Front Panel?  I think so.  Is simplicity and understandability (my made-up word) a Good Thing in Program writing (particularly in the absence of thorough Documentation)?  Definitely Yes.  Is it easy to "hide" the Boolean Control?  Also Yes.

 

Other methods will work.  But they will be potentially confusing to any User (or to yourself after six months away from the code).

 

Bob "Simple-Minded" Schor

0 Kudos
Message 11 of 15
(590 Views)

but its not what I asked for. 

0 Kudos
Message 12 of 15
(583 Views)

@nrcan wrote:

but its not what I asked for. 


This is a very long thread. What does "its" refer to?

0 Kudos
Message 13 of 15
(579 Views)

@nrcan wrote:

but its not what I asked for. 


The response I offered did come very close.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 14 of 15
(554 Views)

You are absolutely correct, my response was not what you asked for.  I tried to help you do what I thought you wanted to do (that is to say, the "What"), and ignored what I saw as a complex method that might work for a single case but would not easily generalize (the "How").  I apologize for my oversight.  I will try not to bother you again.

 

Bob Schor

0 Kudos
Message 15 of 15
(544 Views)