[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

Change Highlight Color in a Textbox

Charles A. Lackman

11/2/2004 11:03:00 PM

Hello,

Looking for help changing the Highlight color in a Textbox in VB.NET.

Any Suggestions will be greatly appreciated.

Thanks,
Chuck


4 Answers

Rick Rothstein

11/2/2004 11:39:00 PM

0

Almost everybody in this newsgroup is using VB6 or lower. While you may
get a stray answer to VB.NET (including VB2003 and VB2005 which has
dropped .NET from its name) questions here, you should ask them in
newsgroups devoted exclusively to .NET programming. Look for newsgroups
with either the word "dotnet" or "vsnet" in their name.

For the microsoft news server, try these newsgroups...

microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb
microsoft.public.vsnet.general

There are some others, but these should get you started.

Rick - MVP



"Charles A. Lackman" <Charles@CreateItSoftware.net> wrote in message
news:uONokATwEHA.1984@TK2MSFTNGP14.phx.gbl...
> Hello,
>
> Looking for help changing the Highlight color in a Textbox in VB.NET.
>
> Any Suggestions will be greatly appreciated.
>
> Thanks,
> Chuck
>
>

Jakob Christensen

11/3/2004 2:29:00 PM

0

I believe the highlight color for a textbox is determined by the system
settings. I don't think there an easy way to change this. You will probably
have to draw the textbox yourself to achieve this.

Regards, Jakob.


"Charles A. Lackman" wrote:

> Hello,
>
> Looking for help changing the Highlight color in a Textbox in VB.NET.
>
> Any Suggestions will be greatly appreciated.
>
> Thanks,
> Chuck
>
>
>

Rick Rothstein

11/3/2004 3:26:00 PM

0

> I believe the highlight color for a textbox is determined by the
system
> settings. I don't think there an easy way to change this. You will
probably
> have to draw the textbox yourself to achieve this.

You might be right (I don't know myself), but do you know this to be a
fact for TextBox'es in VB.NET?

Rick - MVP

Jakob Christensen

11/4/2004 8:42:00 AM

0

The textbox used by the System.Windows.Forms namespace in .net is based on
the Win32 Edit control. So if you can not do it using the Win32 API (and I
don't think you can) then you can not do it .net.

Regards, Jakob.


"Rick Rothstein" wrote:

> > I believe the highlight color for a textbox is determined by the
> system
> > settings. I don't think there an easy way to change this. You will
> probably
> > have to draw the textbox yourself to achieve this.
>
> You might be right (I don't know myself), but do you know this to be a
> fact for TextBox'es in VB.NET?
>
> Rick - MVP
>
>