CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2010
    Posts
    6

    Unwanted transparency in a button

    Hello,
    I have issue with command button which I'm not able to resolve. You can see it on the attached picture. There is highlighted area with 1px width on the picture which is transparent. Button is placed on a frame and on a modal form. Here is definition of button from .frm

    Code:
    Begin VB.Form frmMR 
       BackColor       =   &H00000000&
       BorderStyle     =   0  'None
       Caption         =   ""
       ClientHeight    =   10890
       ClientLeft      =   3270
       ClientTop       =   2940
       ClientWidth     =   14265
       ControlBox      =   0   'False
       LinkTopic       =   "Form1"
       MaxButton       =   0   'False
       MinButton       =   0   'False
       ScaleHeight     =   10890
       ScaleWidth      =   14265
       ShowInTaskbar   =   0   'False
       StartUpPosition =   2  'CenterScreen
       Begin VB.Frame fFormBase 
          BackColor       =   &H00FFFFFF&
          BorderStyle     =   0  'None
          Height          =   10830
          Left            =   24
          TabIndex        =   6
          Top             =   24
          Width           =   14205
          Begin VB.Frame fForm 
             BorderStyle     =   0  'None
             Height          =   8775
             Index           =   0
             Left            =   0
             TabIndex        =   237
             Top             =   780
             Width           =   14200
             Begin VB.Frame fMR 
                Height          =   3030
                Index           =   2
                Left            =   990
                TabIndex        =   319
                Top             =   5760
                Width           =   6600
                Begin VB.CommandButton cmdCheckFountPU
                   Height          =   550
                   Index           =   19
                   Left            =   3100
                   MaskColor       =   &H00FFFFFF&
                   Style           =   1  'Graphical
                   TabIndex        =   333
                   TabStop         =   0   'False
                   Top             =   660
                   UseMaskColor    =   -1  'True
                   Width           =   550
                End
    Does somebody has the same experience and/or know where is the problem?

    Thank you a lot for any help
    Attached Images Attached Images  

  2. #2
    Join Date
    May 2010
    Posts
    6

    Resolved Re: Unwanted transparency in a button


  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Unwanted transparency in a button

    Please just mark your thread resolved by clicking on Thread Tools, Mark Thread Resolved

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