| || |
Check / uncheck a checkbox in a ListBox
I have a checkbox for each value in the list box and now I want to check if the checkbox is already selected for a particular value. The checkbox is not getting identified and the listbox is not returning any childobjects. Is there any way to check / uncheck the checkbox which is inside the listbox? Thanks.
Re: Check / uncheck a checkbox in a ListBox
If the list-box control you are working with is a standard Win32 ListView control, you can check the state of an item using the wChecked property. Please find the list of properties available for such list view controls in the Properties Added to Win32ListView Objects help topic. You can find more information on how to work with list view controls from TestComplete in the Working With List View Controls topic.
If your control is not a standard control or it does not expose mentioned properties and methods, please let me know exactly what control you are working with. Tell me the value of its WndClass property and the ClrFullClassName or JavaFullClassName property, if it exists.