Opacity

  • Thread starter Thread starter Brian Shafer
  • Start date Start date
B

Brian Shafer

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
 
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
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemWindowsFormsFormClassOpacityTopic.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.
 
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.
 
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
 
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.
 
Back
Top