Link to home
Start Free TrialLog in
Avatar of jackjohnson44
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
Avatar of mydasx
mydasx

create a public property called Text.  Simple.  :)
ASKER CERTIFIED SOLUTION
Avatar of HouseMusic
HouseMusic

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jackjohnson44

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.