473,395 Members | 1,578 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,395 software developers and data experts.

New item in Propery Window

I have a control that inherits from TextBox class. I'm trying to add a
AllowBlank property to the class. How can I get AllowBlank to show up in
the properties window at design time? Can't find the right key words to
find this in Google. Thanks guys.

Chris
Nov 21 '05 #1
3 859
Forget it guys. I didn't rebuild after adding the property so the designer
didn't know it existed yet. After the rebuild it worked fine. I can tell
it's Monday.

Chris

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> wrote
in message news:eM**************@TK2MSFTNGP10.phx.gbl...
I have a control that inherits from TextBox class. I'm trying to add a
AllowBlank property to the class. How can I get AllowBlank to show up in
the properties window at design time? Can't find the right key words to
find this in Google. Thanks guys.

Chris

Nov 21 '05 #2
Chris, Master of All Things Insignificant wrote:
Forget it guys. I didn't rebuild after adding the property so the designer
didn't know it existed yet. After the rebuild it worked fine. I can tell
it's Monday.

Chris

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> wrote
in message news:eM**************@TK2MSFTNGP10.phx.gbl...
I have a control that inherits from TextBox class. I'm trying to add a
AllowBlank property to the class. How can I get AllowBlank to show up in
the properties window at design time? Can't find the right key words to
find this in Google. Thanks guys.

Chris


You're way ahead of me.....I thought it was still Sunday.
Nov 21 '05 #3
Chris,

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com>
schrieb:
I have a control that inherits from TextBox class. I'm trying to add a
AllowBlank property to the class. How can I get AllowBlank to show up in
the properties window at design time?


\\\
Imports System.ComponentModel
..
..
..
<Browsable(True)> _
Public Property...
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4

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

Similar topics

1
by: TPK | last post by:
Here is what I want to do with javascript. On a page with text place a javascript link that: 1) When a user clicks the link (onClick) a new browser window opens (the easy part) NewWindow =...
1
by: tony | last post by:
Hello!! Normally I use C# but we have a project that is creating a window control library DLL that is done in C++.NET and that is here I have some problems that I want to solve. To be able to...
4
by: Louly | last post by:
Hi everybody, I got the code for dimming a menu item from this group after looking for it for a long time thanks to those who share their experiences with the others :) The problem I'm facing...
3
by: keithb | last post by:
Using a GridView, I get a "Specified cast is not valid" error when binding the Visible propery of a hyperlink control to a DataTable text field. The error goes away if I replace the data binding...
3
by: =?Utf-8?B?bWFydGluMQ==?= | last post by:
Hi, All, I use vb 2005 to create window app, and try to disable close button/item on the top right coner of window, can anyone can help this out? Thanks for yuor time, Martin
2
by: Nathan Baker | last post by:
Hey all, I've had to dive down into unmanaged world from .NET recently to subclass the IE browser window for the purposes of adding menu items. I've gotten the items added thanks to the Win32...
6
by: Jack | last post by:
Hi, I am still new to .NET so, i'm sorry if my question is a bit too simple :-) I would like to know what is the "best-practice-way" of sending email from asp.net (VbScript). I want to make a...
3
by: JoeP | last post by:
Hi All, Need to check if the propery of an object exits. oMyObject.Message In some cases the Message property may not exists. I know the GetType() can do it. How would you check it?
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.