|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
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. Show quoteHide quote "Brian Shafer" <bsgallatin@community.nospam> wrote in message news:#OvaGNfNGHA.344@TK2MSFTNGP11.phx.gbl... > 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 > > 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 Show quoteHide quote "Cerebrus99" <zorg***@sify.com> wrote in message news:uU5%231mgNGHA.2704@TK2MSFTNGP15.phx.gbl... > 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@community.nospam> wrote in message > news:#OvaGNfNGHA.344@TK2MSFTNGP11.phx.gbl... >> 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 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. 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. http://www.vb-tips.com/default.aspx?ID=e712f49d-7f54-4f59-945f-cfc96c6ca913 I hope this helps, Cor
Help creating custom ComboBox control
Can opacity/transparency be adjusted within components? Text Files No tables visible in SQL Server connection Unable to open file Control Arrays Progress bar - No activity Basic How To Question: Class Library or Windows Control Library Splash screens / loading & unloading forms PropertyChanged event with VB.NET (.NET 1.1) |
|||||||||||||||||||||||