Solved

vb.net control override

Posted on 2006-07-18
3
495 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
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 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2013 Shortcut (VB) 4 45
Receiving a string from a WebService Push 21 47
Web Form VB.Net  import CSV 4 36
Help with exporting to excel 4 26
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

785 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