Results 1 to 3 of 3

Thread: [RESOLVED] How do I get rid of Transparent Textboxes

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    504

    Resolved [RESOLVED] How do I get rid of Transparent Textboxes

    One of my students ran into a problem. All his textboxes are transparent. It is not showing the form, but rather what is underneath the form (either the desktop, or any open application). Everything I research says this is not possible. As I move the running application around, the transparent textboxes shows exactly what is below it. See the image below.

    Name:  transparent textbox.png
Views: 120
Size:  44.7 KB

    Note, even when I add a new textbox from the toolbox it is transparent. The only way I found to make it non-transparent is to make the Textbox Backcolor anything other than White. If I create a new application, I do not get this behavior (the textboxes are not transparent in the new app).

    I did upload the application below. There is no code, just the controls shown in the image above (6 labels and 3 textboxes).

    Any help to disable the transparent textboxes would be appreciated.

    HW 9.zip

  2. #2
    Frenzied Member
    Join Date
    Nov 2017
    Posts
    1,236

    Re: How do I get rid of Transparent Textboxes

    I didn't check out the attachment, but my guess is the form's TransparencyKey property has been set to white.

    https://docs.microsoft.com/en-us/dot...ew=netcore-3.1

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    504

    Re: How do I get rid of Transparent Textboxes

    That was the problem. Thanks I was not aware of this property.

Tags for this Thread

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