02-19-2009 12:30 PM
02-19-2009 12:52 PM - edited 02-19-2009 12:58 PM
I don't understand your issue. If it is in run mode, of course, then the front panel is supposed to behave like if it was running. You even said this was the desired effect. But then you said this is annoying. And what are you expecting with an .exe.
You have 3 modes for the front panel.
1. Development environment, edit mode.
2. Development environment, run mode.
3. Compiled Executable environment.
What version of LabVIEW do you have? And exactly how do you want it to behave in each of these 3 conditions?
EDIT:
I played some more and I think I see the behavior you're trying to describe. When you are in Development environment, either in run mode but not running, or when actually running. A shift right-click on the VI (but not on a control) produces the tool palette. And you don't want that. Does that sound accurate?
I don't know if that's truly annoying. I don't use run mode much when I'm in the development environmentn (unless of course I'm running). And when I'm running, I never have a reason to shift right click on a blank area of the VI.
Are you using customized shortcut menus?
02-19-2009 02:08 PM
Ravens Fan, I am certain that you interpreted my post incorrectly. To make a long story short...yes, what you describe in your edit is correct. When the VI is in run mode shift+right click brings up the tool pallet (as stated in my original post). It is annoying to me because the pallet is useless when the VI is running and it keeps me from being able to easily have shift+right click custom functionality in run mode. What I would like to happen during a shift+right-click on a particular control is a custom operation (implemented in the Mouse Down? event) followed by the custom shortcut menu for that control (this is the "desired effect" as stated in my original post), which only happens in the compiled executable. In order to avoid having the tool pallet pop up instead of my custom menu I need to run the VI as an executable.
Perhaps NI can explain the point of having the tool pallet during run mode? It should only come up in edit mode...unless I am missing something. If I am the only one who feels this way then so be it, but I'll be submitting a feature request anyway just out of principle.
BTW shift+right-click produces the tool pallet in run mode regardless of the target object (front panel, control, indicator, etc).
I am using LabVIEW 8.2.1., but as far as I know this behavior is not unique to this version. I have not experimented with other versions due to time constraints and project requirements.
02-19-2009 02:26 PM
Yes. Having the tool palette show up in run mode or while running is truly pointless as you can't use any of the items on the palette.
In LV 8.6, if you shift right-click on the control, a context menu that makes sense pops up. That is how I originally interpreted your message. It wasn't until I shift right clicked off the control that the tool palette popped up.
In your original message, it wasn't clear what your desired effect was, and you hadn't mentioned using a custom shortcut menu or the event structure.
Here is an interesting link that is related http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=352427#M352427. It doesn't specifically mention run or edit mode, but apparently the behavior was modified in 8.6 (shift right click on control did not bring up tool palette) in a way that annoyed people.
02-19-2009 02:51 PM
Thanks Ravens Fan. I could've been more articulate in my original post (hence the re-explaination in the second). For now I'll just have to test my functionality with an executable. : (
02-19-2009 02:58 PM
Is there a specific reason to differentiatie between <shift+richt-click> and <right-click>?
Ton
02-19-2009 03:06 PM
08-19-2015 03:24 PM
It would be nice for NI to acknowledge that this behavior is useless and undocumented and escalate it to a CAR.
I was trying to implement a modifiable right-click menu for a control using a shift-right click but this bug doesn't allow this to be debugged therefore I won't use it.
Luckily, a Ctrl-Right Click doesn't create this kind of problem, so I have an alternative.
Tested in LV 2013 SP1 64bit