03-27-2005 07:46 PM
03-28-2005 03:04 PM
03-29-2005 12:21 AM
03-29-2005
02:53 PM
- last edited on
11-10-2025
07:12 PM
by
Content Cleaner
Hi David,
It turns out the short answer is: Name your SubVI so that it doest not have the word About it in.
As far as how this impacts your application there are two options for the behavior of the About LabVIEW menu option. If you would like to leave the default LabVIEW about screen intact, all you will need to change in your current VIs is the name of the about.vi. If you name it to anything that doest not have the word about in it, the VI will no be run when the About LabVIEW selection is made.
The reason it would run but not close properly before is that the VI was loaded in memory and waiting to run as a SubVI in your main application. If you would like both your Help>>About selection and the About LabVIEW selection to point to the same VI, you will need to call the SubVI in your application dynamically so that it is not automatically loaded into memory. More information on one way to call a VI dynamically is available in this tutorial.
Calling a VI by Reference
Please note that you will need to add the VI as a dynamic VI under the Source Files tab of the Application Builder.
Scott Y
NI
03-29-2005 08:50 PM
03-30-2005 10:19 AM
03-30-2005 02:53 PM
03-30-2005
06:48 PM
- last edited on
11-10-2025
07:12 PM
by
Content Cleaner
David,
I believe the reason the About LabVIEW version of the dialog box was not closing properly was that you were not properly disposing of your reference in the top-level VI. I have made a couple of small changes and attached a modified version of your application to this post.
As far as removing the About LabVIEW text, you are correct that this is more of an Apple question at this point. As this menu is something that is built into all executables made by the application builder, you would need to edit the resources for the executable to make any changes. I have made a couple of attempts to edit this executable, but have not been able to find where this text is defined.
The best I can suggest beyond using the methods implemented in the attached example is to create a product suggestion sp that out R&D department will considering modifying the menu in a future version of LabVIEW. This can be done through our Product Suggestion web site.
Scott Y
NI
03-30-2005 11:32 PM
04-15-2008 02:11 PM