I think I have a relatively simple question, yet I have not found a relatively simple solution.
I am loading a combo box control using using .AddString ():
That works fine and I am pleased with my results. However, I want to be able to clear the values listed in the combo box based on the value of check box state. I successfully add values to the combo box if it is checked, but I want to clear the list in the combo box so it shows no values if the box is unchecked.
//list files in combo box box for data files
So far the code below clears most of the values but some still remain, so I know this logic is flawed. Any suggestions? Am I going about this the wrong way?
Any help is greatly appreciated. Thanks-
//clear the combo box of current values
int count = 0;
//clear the combo box setting it blank values
}while (count != numberPackages);