10-28-2019 10:38 AM
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
10-28-2019 11:13 AM
but its not what I asked for.
10-28-2019 11:21 AM
@nrcan wrote:
but its not what I asked for.
This is a very long thread. What does "its" refer to?
10-28-2019 03:00 PM
@nrcan wrote:
but its not what I asked for.
The response I offered did come very close.
Ben
10-28-2019 03:46 PM
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