Quantcast
Viewing all articles
Browse latest Browse all 15737

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

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:


Image may be NSFW.
Clik here to view.
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
Image may be NSFW.
Clik here to view.
 

Viewing all articles
Browse latest Browse all 15737

Trending Articles



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