•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 391,713 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,441 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser:
Views: 6445 | Replies: 1
![]() |
•
•
Join Date: Jun 2006
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I have 3 textbox. I want to change Background color when cursor go there, other wise there will be no change.
How can i do this?
My mail address pretom82@hotmail.com
How can i do this?
My mail address pretom82@hotmail.com
•
•
Join Date: Dec 2002
Location: West Virginia
Posts: 368
Reputation:
Rep Power: 6
Solved Threads: 34
Try this:
Private Sub ChangeBackcolorRed(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.MouseEnter, TextBox2.MouseEnter, TextBox3.MouseEnter
sender.backcolor = Color.Blue
End Sub
Private Sub ChangeBackcolorWhite(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.MouseLeave, TextBox2.MouseLeave, TextBox3.MouseLeave
sender.backcolor = Color.White
End Sub![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
- iframe background color - pls help (HTML and CSS)
- CComboBox Background Color Change Needed (C)
- Not able to set the background color of JComponent (Java)
- HTML 3.2 table background color (HTML and CSS)
- VS 2005 ListViews not holding background color (C#)
- Color change problem (Java)
- Javascript event & color change problem (JavaScript / DHTML / AJAX)
Other Threads in the VB.NET Forum
- Previous Thread: SQL Tables export
- Next Thread: Activate Mouse Scroll In Crystal Report


Linear Mode