VB.NET equivalent of vbHighlight and vbHighlightText from VB6? (.Backcolor/.ForeColor of a TextBox) -


what .net equivalent fore/back color replace following vb6?

 textbox1     .backcolor = vbhighlight     .forecolor = vbhighlighttext  end 

you looking systemcolors class:

contains system colors, system brushes, , system resource keys correspond system display elements.

with textbox1   .backcolor = systemcolors.highlight   .forecolor = systemcolors.highlighttext end 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -