annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

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 Compliments
Message 11 sur 15
629 Visites

but its not what I asked for. 

0 Compliments
Message 12 sur 15
622 Visites

@nrcan wrote:

but its not what I asked for. 


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

0 Compliments
Message 13 sur 15
618 Visites

@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 Compliments
Message 14 sur 15
593 Visites

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 Compliments
Message 15 sur 15
583 Visites