Label Background

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian S.

    Label Background

    Hi, Is there a way to make the lable background transparent? I though I was
    about to do this in Access 2.0... but its been a few years...
    Brian


  • Brian S.

    #2
    Re: Label Background

    Ok, I can get this to work with a group object.. but not a picture box...
    anyone know why?

    "Brian S." <bsgallatin@com munity.nospamwr ote in message
    news:umkMufNqIH A.524@TK2MSFTNG P05.phx.gbl...
    Hi, Is there a way to make the lable background transparent? I though I
    was about to do this in Access 2.0... but its been a few years...
    Brian
    >

    Comment

    • Bill McCarthy

      #3
      Re: Label Background

      Hi Brian,

      In the properties picker, select Web , then select Transparent. Or in code,
      Label1.BackColo r = Color.Transpare nt




      "Brian S." <bsgallatin@com munity.nospamwr ote in message
      news:umkMufNqIH A.524@TK2MSFTNG P05.phx.gbl...
      Hi, Is there a way to make the lable background transparent? I though I
      was about to do this in Access 2.0... but its been a few years...
      Brian
      >

      Comment

      • Brian S.

        #4
        Re: Label Background

        Bill I can get this working i with a groupbox, but for some reason i can not
        get it to work with a picture box.... where is the code I was using
        this works....
        me.label1..Pare nt = Me.GroupBox1

        me.label1.BackC olor = Color.Transpare nt

        This does not work...

        me.label1..Pare nt = Me.picturebox1

        me.label1.BackC olor = Color.Transpare nt

        "Bill McCarthy" <Bill@N0SPAM.co mwrote in message
        news:D0841FDC-EB64-45B4-9F87-75005245971D@mi crosoft.com...
        Hi Brian,
        >
        In the properties picker, select Web , then select Transparent. Or in
        code, Label1.BackColo r = Color.Transpare nt
        >
        >
        >
        >
        "Brian S." <bsgallatin@com munity.nospamwr ote in message
        news:umkMufNqIH A.524@TK2MSFTNG P05.phx.gbl...
        >Hi, Is there a way to make the lable background transparent? I though I
        >was about to do this in Access 2.0... but its been a few years...
        >Brian
        >>
        >

        Comment

        • Bill McCarthy

          #5
          Re: Label Background

          Hi Brian,

          Ah ... PictureBox in dotnet is not a container. I think you are thinking
          like VB6. In dotnet use a Panel for a container control.




          "Brian S." <bsgallatin@com munity.nospamwr ote in message
          news:e5D1FLmqIH A.3900@TK2MSFTN GP05.phx.gbl...
          Bill I can get this working i with a groupbox, but for some reason i can
          not get it to work with a picture box.... where is the code I was using
          this works....
          me.label1..Pare nt = Me.GroupBox1
          >
          me.label1.BackC olor = Color.Transpare nt
          >
          This does not work...
          >
          me.label1..Pare nt = Me.picturebox1
          >
          me.label1.BackC olor = Color.Transpare nt
          >
          "Bill McCarthy" <Bill@N0SPAM.co mwrote in message
          news:D0841FDC-EB64-45B4-9F87-75005245971D@mi crosoft.com...
          >Hi Brian,
          >>
          >In the properties picker, select Web , then select Transparent. Or in
          >code, Label1.BackColo r = Color.Transpare nt
          >>
          >>
          >>
          >>
          >"Brian S." <bsgallatin@com munity.nospamwr ote in message
          >news:umkMufNqI HA.524@TK2MSFTN GP05.phx.gbl...
          >>Hi, Is there a way to make the lable background transparent? I though I
          >>was about to do this in Access 2.0... but its been a few years...
          >>Brian
          >>>
          >>
          >
          >

          Comment

          • Cor Ligthert[MVP]

            #6
            Re: Label Background

            Brian,

            The background from the Picturebox is shadowed. You see the background in
            your attributes because it is inherited from controls, but you cannot use
            it. (I use the picturebox often as sample when somebody ask if you can hide
            attributes from the attribute box which are inheritted, you cannot)

            Cor

            "Brian S." <bsgallatin@com munity.nospamsc hreef in bericht
            news:e5D1FLmqIH A.3900@TK2MSFTN GP05.phx.gbl...
            Bill I can get this working i with a groupbox, but for some reason i can
            not get it to work with a picture box.... where is the code I was using
            this works....
            me.label1..Pare nt = Me.GroupBox1
            >
            me.label1.BackC olor = Color.Transpare nt
            >
            This does not work...
            >
            me.label1..Pare nt = Me.picturebox1
            >
            me.label1.BackC olor = Color.Transpare nt
            >
            "Bill McCarthy" <Bill@N0SPAM.co mwrote in message
            news:D0841FDC-EB64-45B4-9F87-75005245971D@mi crosoft.com...
            >Hi Brian,
            >>
            >In the properties picker, select Web , then select Transparent. Or in
            >code, Label1.BackColo r = Color.Transpare nt
            >>
            >>
            >>
            >>
            >"Brian S." <bsgallatin@com munity.nospamwr ote in message
            >news:umkMufNqI HA.524@TK2MSFTN GP05.phx.gbl...
            >>Hi, Is there a way to make the lable background transparent? I though I
            >>was about to do this in Access 2.0... but its been a few years...
            >>Brian
            >>>
            >>
            >
            >

            Comment

            Working...