Jump to content

System Tree View - File Browse Advice


Recommended Posts

Hello All,

I'm looking for some advice. I'd like to duplicate the attached file search dialog in LabVIEW. My guess is to start to use the system tree control for the directory browsing portion (right hand tree view). I've played around with adding symbols for each level of directory but the built in folder representations are not that great. Does anyone have a source (freeware or at least minimal cost) for nice looking color icons for the folder representation? In the tree view in labview I see a dashed grey line connecting the parents/children. Can that be disabled so it looks like my attached image? I am planning on wrapping most of the controls into an XControl to make things a bit easier to handle.

Thanks for the help,

Keith

Link to post

Check out the attached VI. It overrides those not-so-pretty tree symbols with better looking ones (specifically, the icons used in the Project Window). After you run this VI on your tree, whenever you add new items programmatically, if you set their symbol index to be one of the old-skool symbols, you'll get the nicer looking one instead. This should work in LabVIEW 8.0 and later.

-D

P.S. - To turn off the hierarchy lines on the tree, right-click the tree and uncheck Visible Items > Hierarchy Lines.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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