473,394 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Extending a windows control

Dom
Sometimes I try to extend a windows control just to give it added
functionality. For example, the DataGridView control does not have a
"IntegralHeight" property, like a list box, so I create a

class MyDataGridView : DataGridView
{
}

.... to add this functionality. I ALWAYS get an error message that
says "MyDataGridView does not contain a definition for
"AutoScaleMode", and when I click on the error, I get a like in the
Designer.cs that I never requested. My habit is to just remove it.

1. Why is it there?
2. Am I right to just remove it?

Dom
Dec 21 '07 #1
0 1019

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alicia Haumann | last post by:
I accidentally sent this to webmaster@python.org, so this could be a duplicate if "webmaster" forwards it to this list. :{ Hi, there. Thanks for any help that can be offered. I've been...
1
by: geoff | last post by:
I am trying to learn how to create my own controls. I want to create my own toolbar which would be similar to the .net toolbar except that my version would allow 3 images per button (off, over,...
2
by: Markus Eßmayr | last post by:
Hello, I'm writing an extension class for the winforms button control using MC++. I created a class, derived from System::Windows::Forms::Button. In my class I want to extend the functionality...
0
by: Patrick Aikens | last post by:
This question is for .NET 2005 beta 1 (we can't move to beta 2 yet at my workplace). This is probably a true newbie question or a beta bug, but I'm a bit lost on this... I want to extend the...
8
by: Anthony Williams | last post by:
Morning all, I'm having a wee problem with a project I'm working on at the moment. I'm leading my company into producing a website, based upon Web Standards, which will be created using XHTML...
4
by: rajendra | last post by:
how to extend existing windows forms control like if i want to add new add method to combo box ,how to go abt. it? can anyone help me abt. this
1
by: punitha | last post by:
hai, Iam using python to tie C functions(premitives). Iam calling C functions from python through swig(Extending with C). This working well in Linux,but i dont know how to do it in...
0
by: =?Utf-8?B?QnVsbGluZXM=?= | last post by:
Greetings! I've been reading the following article on extending the ResourceProvider in ASP.NET 2.0 and I have some questions: http://msdn2.microsoft.com/en-us/library/aa905797.aspx Is it...
0
by: sunny74 | last post by:
Dear All, I want to create a new custom web control by extending the 1)HTMLInputFile control and 2)File Upload control The purpose of extending the control is to add the following functionalities...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.