04-08-2015 09:01 AM - edited 04-08-2015 09:03 AM
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.
Solved! Go to Solution.
04-08-2015 09:24 AM
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
04-08-2015 09:27 AM
Awesome, you save my day !
Thank you very much !
Olivier