Opacity

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

    Opacity

    Ok,
    I was playing around with this feature. have it set at 100% now.. but still
    looks like it is 50% when I run it....
    What other feature did i set that is preventing this from resetting?
    Brian


  • Peter Huang [MSFT]

    #2
    RE: Opacity

    Hi

    First of all, I would like to confirm my understanding of your issue.
    From your description, I understand that you are setting the Form's Opacity.
    From the MSDN, the Opacity varied in 0-1.
    The Default is 1.
    Have I fully understood you? If there is anything I misunderstood, please
    feel free to let me know.

    Based on my research, I can not reproduce the problem.
    I test the code in the link below.
    Form.Opacity Property

    frlrfSystemWind owsFormsFormCla ssOpacityTopic. asp
    You may have a try.
    If you still have any concern, please post a reproduce steps and code so
    that I can troubleshoot at my side.

    Thanks!


    Best regards,

    Peter Huang
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Comment

    • Cerebrus99

      #3
      Re: Opacity

      Hi Brian,

      As Peter said, please give more details. Do you have any code that is
      modifying transparency. Run a search for the word "Opacity" in code view.

      Also check for the TransparencyKey property, which makes a form and its
      controls completely transparent if they are the same color as the value
      specified in the TransparencyKey property.

      The Opacity of a form does vary internally from 0-1, but if you want to set
      it using the Property grid, it will show as a percent value (0% - 100%).

      If nothing works, try recompiling.

      HTH,
      Regards,

      Cerebrus.

      "Brian Shafer" <bsgallatin@com munity.nospam> wrote in message
      news:#OvaGNfNGH A.344@TK2MSFTNG P11.phx.gbl...[color=blue]
      > Ok,
      > I was playing around with this feature. have it set at 100% now.. but[/color]
      still[color=blue]
      > looks like it is 50% when I run it....
      > What other feature did i set that is preventing this from resetting?
      > Brian
      >
      >[/color]


      Comment

      • Brian Shafer

        #4
        Re: Opacity

        augh... ok. checking the form properity, everything was ok. However, I
        was testing some other code and it was producing errors. So, from this
        little test, I can see that if I put code into the app and try to run it,
        and it contains errors, it does not recomplile? Meaning it goes back to the
        last run version that ran successfully.
        Brian

        "Cerebrus99 " <zorg007@sify.c om> wrote in message
        news:uU5%231mgN GHA.2704@TK2MSF TNGP15.phx.gbl. ..[color=blue]
        > Hi Brian,
        >
        > As Peter said, please give more details. Do you have any code that is
        > modifying transparency. Run a search for the word "Opacity" in code view.
        >
        > Also check for the TransparencyKey property, which makes a form and its
        > controls completely transparent if they are the same color as the value
        > specified in the TransparencyKey property.
        >
        > The Opacity of a form does vary internally from 0-1, but if you want to
        > set
        > it using the Property grid, it will show as a percent value (0% - 100%).
        >
        > If nothing works, try recompiling.
        >
        > HTH,
        > Regards,
        >
        > Cerebrus.
        >
        > "Brian Shafer" <bsgallatin@com munity.nospam> wrote in message
        > news:#OvaGNfNGH A.344@TK2MSFTNG P11.phx.gbl...[color=green]
        >> Ok,
        >> I was playing around with this feature. have it set at 100% now.. but[/color]
        > still[color=green]
        >> looks like it is 50% when I run it....
        >> What other feature did i set that is preventing this from resetting?
        >> Brian
        >>
        >>[/color]
        >
        >[/color]


        Comment

        • Peter Huang [MSFT]

          #5
          Re: Opacity

          Hi Brian,

          Yes, if there are errors in the code, the compile will failed.
          And it will run the last successful build version.
          If you still have any concern, please feel free to post here.
          It is my pleasure to be of assistance.

          Best regards,

          Peter Huang
          Microsoft Online Partner Support

          Get Secure! - www.microsoft.com/security
          This posting is provided "AS IS" with no warranties, and confers no rights.

          Comment

          • Cor Ligthert [MVP]

            #6
            Re: Opacity

            Brian,

            Because that I saw more question of this have I made a sample and put on our
            site.

            It is brand new, you can try it.



            I hope this helps,

            Cor


            Comment

            Working...