Hey... everybody
I am comparing the items in a checklist box to another list of items. If certain conditions are stified then I m setting then I am setting an item as checked (programmatically) in the Checklist box.
I put a breakpoint right after I check an item in the checklist box, and then I opened the properties for the checklist box in the debug window.
I saw that the property called CheckedIndices.count = 1.
I even put a breakpoint at the Itemcheck event for that particular checklistbox, and the program does go there when I programatically check an item in the checklistbox.
When the form actually loads, I do not see any checks on the form. Is there some property that I have activate for the checks to be visible ??
I am comparing the items in a checklist box to another list of items. If certain conditions are stified then I m setting then I am setting an item as checked (programmatically) in the Checklist box.
I put a breakpoint right after I check an item in the checklist box, and then I opened the properties for the checklist box in the debug window.
I saw that the property called CheckedIndices.count = 1.
I even put a breakpoint at the Itemcheck event for that particular checklistbox, and the program does go there when I programatically check an item in the checklistbox.
When the form actually loads, I do not see any checks on the form. Is there some property that I have activate for the checks to be visible ??
VB.NET:
JobInstrumentCheckList.SetItemCheckState(0, CheckState.Checked)