vb.net control override

I am looking for a tag in a custom control that I would like to override.

I am using text already and it is working well.

It is a custom control so when I call mycontrol.text, I get the correct value.

I tried using tag, but it is not overrideable.

Thanks
jackjohnson44Asked:
Who is Participating?
 
HouseMusicConnect With a Mentor Commented:
Just creat a new control that inherits it, then overrided that one property, or add another one called whatever you want.



0
 
mydasxCommented:
create a public property called Text.  Simple.  :)
0
 
jackjohnson44Author Commented:
I am already using text as can be seen above.

I want to loop the controls on the form and ask for a property.
Since text is common to all, I don't have to worry if it only exists on my control.

I want something similar to text which can be overridden.

I tried "tag" but it isn't overrideable.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.