Jump to content

LabVIEW Tree control Style


Recommended Posts

Not with the native tree control. There are some tricks you can do to get the drop down lists, but nothing for the nested table.

 

You could implement this with various tricks using clusters or subpanels, but my suggestion is that if you already have a control which does this (I'm assuming a .NET control), you just embed it in a .NET container and use that.

Link to comment

Not with the native tree control. There are some tricks you can do to get the drop down lists, but nothing for the nested table.

 

You could implement this with various tricks using clusters or subpanels, but my suggestion is that if you already have a control which does this (I'm assuming a .NET control), you just embed it in a .NET container and use that.

Hello Yair,

                thanks for your reply.Using clusters or subpanels, Do I insert clusters to Tree control? About your suggestion using a .NET control, I have no experience about .NET.

Link to comment

thanks for your reply.Using clusters or subpanels, Do I insert clusters to Tree control?

 

No, you can't. It would have to be more complicated and I'm not sure what would be needed to make it work, which is why I said you should use the existing control you already have (at least I assume you used an image of a real control and not something you made up on your own). The other alternative is to build the UI in a different way, like showing the relevant details in the tree and then updating the values in separate controls when you click the relevant line on the tree.

 

 

About your suggestion using a .NET control, I have no experience about .NET.

 

Then you'll probably want to start with looking at some tutorials and examples on the topic.

Link to comment

build the UI in a different way, like showing the relevant details in the tree and then updating the values in separate controls when you click the relevant line on the tree.

 

For reference, an example of this kind is in "Grab and Attributes Setup.vi" among the IMAQdx examples of the Example finder. Specifically this VI used to have some glitches in older releases of LV, I don't know whether solved in later versions, but anyway should give you the idea of what Yair means. If you happen to have IMAQ and a webcam you can see it in action.

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.