LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Checkbox states

Solved!
Go to solution

Hi everybody,

 

I would like to use in my software a behavior of the checkboxes and I don't know how to do it using LabWindows/CVI :

 

I Have a tree of options (the + symbol represents a checkbox):

+opt1

---+opt1.1

---+opt1.2

 

And if I check *ONLY* the opt1.2 element, I want the checkbox opt1 to be in the "undeterminate" state (you know, the green square on windows).

I could have use the dimmed property, but I also need to represent if my checkbox is interactible or not.

 

So how could I manage my code to have this behavior ?

 

I also triied to use the ActiveX control with the Microsoft Checkbox Windows Form (v2 because I'm using CVI9, but I hope I will have CVI2010 by the end of the week) but the "TripleState" property look like the dimmed one...

 

Any idea ?

 

Thanx a lot,

Olivier.

 

0 Kudos
Message 1 of 3
(4,441 Views)
Solution
Accepted by topic author OHE

Hello Olivier and welcome to LabWindows/CVI forum.

 

You could check the exmple samples\userint\treemark.prj

The samples are located in C:\Users\Public\Documents\National Instruments\CVI<version>\samples

 

Constantin

Message 2 of 3
(4,430 Views)

Awesome, you save my day !

 

Thank you very much !

 

Olivier

0 Kudos
Message 3 of 3
(4,427 Views)