Jump to content
News about the LabVIEW Wiki! Read more... ×
shoneill

Highlight item in Project tree

Recommended Posts

I wanted to create a shortcut menu entry for finding a VI / sub-VI in the current project context but I can't find any methods to help me accomplish such a thing.  I can get the current project context, but is there even a way to control what is selected? Or to highlight an entry in the tree?

Share this post


Link to post
Share on other sites

If you get a reference to the specific ProjectItem in the project, there is a private method in the ProjectItem class which allows you to select/highlight items in the private tree. It works for the simple case I tried.

Send me a message if you can't find the method.

Share this post


Link to post
Share on other sites

You can also press Ctrl-Shift-E from an open VI to select that VI in the project explorer.

  • Like 1

Share this post


Link to post
Share on other sites
On 7/13/2018 at 2:12 PM, Darren said:

You can also press Ctrl-Shift-E from an open VI to select that VI in the project explorer.

Yes I use this all the time.  I do wish this extended to Libraries not in an open project, vote here if you feel the same.

Share this post


Link to post
Share on other sites

Aah, private.  No Problem, time to edit my INI file.  Thx.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.