06-16-2012 06:07 AM - edited 06-16-2012 06:09 AM
I want to make more than one checkbox at run-time. So I did it with listbox, but I can't check it.
How can i do????
Plzz help
I attched my VI.
Thx in Advance.
Solved! Go to Solution.
06-16-2012 06:59 AM
Hi ZZZZ,
you select the image (!) of an unchecked checkbox as symbol for the listbox entry and now you wonder why you can't check that image? Think about that yourself...
Solution:
Check the mouseclick for the listbox and change the symbol for the clicked listbox entry. Remember: the "ObjSymbol" is just an image!
06-16-2012 08:11 PM
As noted, the things you are adding are images, not additional controls. If you're looking to create a pure LabVIEW solution, then you will need to do your own programming. You can respond to the Mouse Down event on the control and then use the Point to Row Invoke Node to tell you if the click was on a symbol. If so, you can then toggle the symbol for that row.
06-16-2012 08:21 PM
I was waiting for a process to finish so I threw together a small sample for you to try.
An alternative is to use a control like an ActiveX control or a .NET control, but of course, that would make it OS-specific.
06-17-2012 10:55 PM
Thank You.........