I hope I can explain this in a way that makes sense to everyone.
I have a child form inside an mdi form that contains a bunch of combo boxes, which had replaced data combos. I replaced the data combos because I needed to populate items from a database but also add items under certain criteria, which proved unfeasible with data combos.
I have a search form that helps select which data is to be loaded into the controls of the form, and on occasion some of these combo boxes (not all of them) disappear when the search form closes. I thought initially that this was being caused by the form not refreshing, so I tried doing an explicit refresh of the form, the controls themselves, and setting the autoredraw property to true on the form. I have also tried explictly setting the visible property to true, but to no avail. What gets me is that the problem is intermittent. Sometimes it happens and sometimes it doesn't, and the times that this happens, it seems only a random group of these controls disappear and some stay put.
Now let me add that there is a tabstrip (not the SSTab, but the other one) and we are using frames to contain the controls and display whichever one is necessary, based on which tab is chosen. I have tried forcing a refresh on each of the frames, but it doesn't make any difference.
Any ideas would be greatly appreciated. Thanks
I have a child form inside an mdi form that contains a bunch of combo boxes, which had replaced data combos. I replaced the data combos because I needed to populate items from a database but also add items under certain criteria, which proved unfeasible with data combos.
I have a search form that helps select which data is to be loaded into the controls of the form, and on occasion some of these combo boxes (not all of them) disappear when the search form closes. I thought initially that this was being caused by the form not refreshing, so I tried doing an explicit refresh of the form, the controls themselves, and setting the autoredraw property to true on the form. I have also tried explictly setting the visible property to true, but to no avail. What gets me is that the problem is intermittent. Sometimes it happens and sometimes it doesn't, and the times that this happens, it seems only a random group of these controls disappear and some stay put.
Now let me add that there is a tabstrip (not the SSTab, but the other one) and we are using frames to contain the controls and display whichever one is necessary, based on which tab is chosen. I have tried forcing a refresh on each of the frames, but it doesn't make any difference.
Any ideas would be greatly appreciated. Thanks