Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 86,399 VB Programmers. There are 1,474 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a VB Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

Chage the border color of text box

 
Reply to this topicStart new topic

Chage the border color of text box

Rating  3
lakhanmahajan
post 8 May, 2008 - 10:36 AM
Post #1


New D.I.C Head

*
Joined: 4 May, 2008
Posts: 13



When textbox get focus then its border color is change but not black
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Zhalix
post 8 May, 2008 - 07:12 PM
Post #2


New D.I.C Head

*
Joined: 7 May, 2008
Posts: 37

I don't know an easy way to do this. If it were me I'd just remove the border on the textbox and make my own border around it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

anand_the_great
post 13 May, 2008 - 12:15 AM
Post #3


New D.I.C Head

*
Joined: 15 Apr, 2008
Posts: 27

Private Sub Text1_GotFocus()
Text1.BackColor = &HC0C0C0
End Sub
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Zhalix
post 13 May, 2008 - 12:20 AM
Post #4


New D.I.C Head

*
Joined: 7 May, 2008
Posts: 37

Border, not background.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

sam_benne
post 13 May, 2008 - 01:14 AM
Post #5


D.I.C Head

Group Icon
Joined: 16 Jan, 2008
Posts: 148

There is no way to change the border color of a text box the only way i can think is in the properties make it flat and add a shape around the textbox and change the bordercolor of that.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 06:22AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month