jackjohnson44
asked on
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
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
create a public property called Text. Simple. :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.