Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15900

[RESOLVED] VB.net Accessing control on a tabcontrol second tab page on another form

$
0
0
Hi
I have a problem when trying to set the selected index of a combobox that is on a from from a shared/public class. I get no error when I do that for another combobox (called CB_Update_CaseID in the image below) that is on the 3rd TabPage but I get the following error for the combobox that is on the 4th page:


Name:  2020-10-13_11-25-48.jpg
Views: 41
Size:  25.6 KB


How will I solve this issue?

thanks in advance.

and apology for the title that says "second tab page".

Edit,
OK, comparing the properties of those two Combos revealed that the "Modifier" property for the problematic combo was set to "Private". Issue solved.
Attached Images
 

Viewing all articles
Browse latest Browse all 15900


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>