Results 1 to 2 of 2

Thread: TextBox border color?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    I'm trying to figure out how I can change the color of a TextBox border...
    I searched for help on MSDN and it mentions that

    "BorderColor applies only to a text box or edit box when the SpecialEffect
    property is set to 1 - Plain."

    However, I tried using the following but it tells me that method or data
    member not found:

    Text1.SpecialEffect = 1
    Text1.BorderColor = &HFF0000

    I read in a post that someone suggested putting a label behind the text box
    but I don't want to do that.. It just seems like to much hassle..

    There has got to be a way to do this natively within VB without using 3rd
    party skin software.. You can do it in Access...

    any help would be appreciated..

    Dan

  2. #2
    New Member
    Join Date
    Mar 2000
    Posts
    9
    Originally posted by dbassettt74


    "BorderColor applies only to a text box or edit box when the SpecialEffect
    property is set to 1 - Plain."

    There is no BorderColor for either a text box or rich edit control. I'd imagine the "SpecialEffect" could possibly be the Appearance property of the control, which you can choose either Flat or 3d.

    Steven Gilman
    Applications Programmer
    Windfall Applications

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width