4 Replies - 8182 Views - Last Post: 13 May 2008 - 01:14 AM Rate Topic: ***-- 1 Votes

#1 lakhanmahajan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 04-May 08

Chage the border color of text box

Posted 08 May 2008 - 10:36 AM

When textbox get focus then its border color is change but not black
Is This A Good Question/Topic? 0
  • +

Replies To: Chage the border color of text box

#2 Zhalix  Icon User is offline

  • D.I.C Regular

Reputation: 20
  • View blog
  • Posts: 260
  • Joined: 07-May 08

Re: Chage the border color of text box

Posted 08 May 2008 - 07:12 PM

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.
Was This Post Helpful? 0
  • +
  • -

#3 anand_the_great  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 47
  • Joined: 15-April 08

Re: Chage the border color of text box

Posted 13 May 2008 - 12:15 AM

Private Sub Text1_GotFocus()
Text1.BackColor = &HC0C0C0
End Sub
Was This Post Helpful? 0
  • +
  • -

#4 Zhalix  Icon User is offline

  • D.I.C Regular

Reputation: 20
  • View blog
  • Posts: 260
  • Joined: 07-May 08

Re: Chage the border color of text box

Posted 13 May 2008 - 12:20 AM

Border, not background.
Was This Post Helpful? 0
  • +
  • -

#5 sam_benne  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 16
  • View blog
  • Posts: 732
  • Joined: 16-January 08

Re: Chage the border color of text box

Posted 13 May 2008 - 01:14 AM

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1