LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need a control similar to instalation dialogs

I write because I have a problem with an application that I�m making with LabView 6.1. I want make a control similar to installation dialogs where you can select or deselect part or all components of a program. That dialog has a tree structure. I attach an image of one of that dialogs.
However I find no control that makes that and I try to make it with listboxes but it's quite difficult its use.
I don�t know if I must create it or already exists.
And how can I make a control with its own events handler.
I thank your help.

JL Guardiola
0 Kudos
Message 1 of 3
(2,714 Views)
Hi,

LabVIEW has several options that can fit your needs.
The easier one is the Tree Control. This control was a LabVIEW 7 Express new feature, so you must update to LabVIEW 7.0 or higher to be able to use it.
However, you have the option to use Microsoft TreeView Control through ActiveX. You are bound to deal with ActiveX methods and properties if you choose this option. This is not really easy so I suppose it is not interesting for you. If I am wrong please ask me for more help.
The third option is to build your own control as a combination of checkboxes. The appearance to the end user would be just like the image you´ve attached.
To build this control you can:

1.-) Use decorations with Dialog Checkboxes inside.
2.-) Use an array of Dialog Checkboxe
s

You can access the Dialog Checkbox on Controls Palette>>Classic Controls>>Classic Boolean.

I am attaching a LabVIEW 6.1 example on how to implement this last option.

Hope it helps.
César Verdejo
Training and Certification | National Instruments
0 Kudos
Message 2 of 3
(2,714 Views)

Hi,

 

I know that this thread is a little bit old(I am not attaching any CVs 😉 ), but I hope there is someone qho can help me 🙂 

I have a question about tree control mentioned in above message. I am wondering if it is possible to use it simmilar to instalation dialogs ie - there could be 3 options to choose - one when parent and none of his children are chosen; second when parent and all children are chosen and third one - I would like to indicate on parent - level that not all children are chosen.

 

on http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.aspx they mentioning just two types of images - imageindex and selectedImage index.

 

Hope it is clear, if anyone has more questions I will be pleased to answer.

 

Regards,

 

PacHOOk

--------------------------------------------------
Regards,

PacHOOk
0 Kudos
Message 3 of 3
(2,383 Views)