?
Solved

vb.net control override

Posted on 2006-07-18
3
Medium Priority
?
500 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:jackjohnson44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:mydasx
ID: 17134447
create a public property called Text.  Simple.  :)
0
 
LVL 3

Accepted Solution

by:
HouseMusic earned 1000 total points
ID: 17138152
Just creat a new control that inherits it, then overrided that one property, or add another one called whatever you want.



0
 

Author Comment

by:jackjohnson44
ID: 17138358
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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question