Default highlight color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

When a textbox gets focus in WinForm, the text inside the textbox is
highlighted with default color. How can I get the value of the default
highlight color like the following?

Dim BackColor as Color = MyTextBox.BackColor
Dim ForeColor as Color = MyTextBox.ForeColor
' And hopefully I can use something like the following:
' Dim HighLightColor as Color = MyTextBox.HighlightColor

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top