CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Guest

    transparent textbox

    heh how can i make my textbox transparent so the user will be typing on the the background piction.. thanks


  2. #2
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    Re: transparent textbox

    The simplest way is to set BorderStyle to None and BackColor to Form.BackColor.
    Vlad


  3. #3
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Re: transparent textbox

    The problem with this is that the textbox will still be opaque (however it's spelled

    I don't think it's possible with a normal textbox.

    BrewGuru99


  4. #4
    Join Date
    Sep 1999
    Posts
    14

    Re: transparent textbox

    You can try to fake something using a Label

    You can place the Cursor in an invsible textfiled and in the Change event you transfer the Text to the Caption property of the label, i think this is not a beauty way, but the only possible way if you dont want to write your own Textbox control


  5. #5
    Join Date
    Sep 1999
    Location
    Baytown, TX, United States
    Posts
    23

    Re: transparent textbox

    You can't. In order to make a textbox transparent, you need the Backstyle Property. When you're working with a textbox, this property doesn't show up.

    kazooie21

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

Featured