473,326 Members | 2,680 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,326 software developers and data experts.

backColor proprtiy control

hi,

What is the control that the vb.net uses for the color selection
(forcolor,backcolor,..) in the form design properties.
it looks like a combobox that contain a tabControl.
Nov 20 '05 #1
2 1796
Hello,

"touf" <to******@hotmail.com> schrieb:
What is the control that the vb.net uses for the color selection
(forcolor,backcolor,..) in the form design properties.
it looks like a combobox that contain a tabControl.


I think you will have to implement a control like that yourself.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
touf,
As Herfried stated, you need to 'implement' this class yourself. In that it
is not a real control, it is actually a UITypeEditor.

System.Drawing.Design.ColorEditor.

In order for you to use it, you need to be able to host UITypeEditor
classes. Other than System.Windows.Forms.PropertyGrid I do not know of an
easy way to host UITypeEditor classes. For starters on creating (not
necessarily hosting) a UITypeEditor see System.Drawing.Design.UITypeEditor.
The overview for UITypeEditor suggests a
System.Windows.Forms.Design.IWindowsFormsEditorSer vice interface...

What you are seeing is partially the UITypeEditor & partially PropertyGrid
control.

Unless they are using the PropertyGrid control the following projects may
have sample code on hosting the UITypedEditor class.

http://www.icsharpcode.net/opensource/sd/

http://windowsforms.net/Default.aspx...dex=5&tabid=47

For a overview of design time support (UITypeEditors & related classes) see:
http://msdn.microsoft.com/library/de...imesupport.asp

Hope this helps
Jay

"touf" <to******@hotmail.com> wrote in message
news:Od**************@TK2MSFTNGP11.phx.gbl...
hi,

What is the control that the vb.net uses for the color selection
(forcolor,backcolor,..) in the form design properties.
it looks like a combobox that contain a tabControl.

Nov 20 '05 #3

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

Similar topics

2
by: perspolis | last post by:
HI I created a user control and place some control on it. I need when I change BackColor of user control,Back Color of other controls also change.. I used foloowing code: public override Color...
1
by: Matt | last post by:
I'm having a problem when I place ASP:Textbox controls on a form. During design time the control's backcolor is set to white. When I run the project in debug mode or deploy the page to a test web...
1
by: Firewalker | last post by:
I am attempting to change the backColor property on the previously instantiated buttons FROM a listbox_doubleClick event. I thought it would be something like this: If...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
3
by: senfo | last post by:
I developed a Windows control in VS 2005 that inherits from the PictureBox Control that adds the ability to select images in a Windows application. It is, however, experiencing a strange issue...
4
by: Rob | last post by:
This should be simple..... The default BackColor of a button (if you look at its property) is "Control" its a gray color, but apparently not a color. During a process I set the BackColor of a...
6
by: Dmitry Duginov | last post by:
Hi, I have the following label markup (label is inside FormView): <asp:Label ID="lblIndicatorReady" runat="server" Text="RE" ToolTip="Ready" BackColor='<%#...
11
by: tshad | last post by:
I have a Windows form where I am trying to set the BackColor of a control and check the color before I do it: If control.BackColor = System.Drawing.Color.Blue Then ChangeColor(control,...
5
by: Rob | last post by:
Hi, I'am working with vb2005 and it's an ADO application based on an access database. i'am still have problems to get the backcolor of an control in a different color if it has the focus. I am...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.