Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange UI problem
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00877964
Message ID:
00878111
Views:
28
Clay,

>I was messing around with opacity and transparency features on one of my maintenance forms and somehow I've fouled up my mmMainAppForm. I accidently set the AllowTransparency field to true through the UI somehow and the only way to correct it was set it in code to false because I could not find that property anymore in the UI.
>
>This fixed the problem however my mmMainAppForm always starts as if the width and height are 0. The only thing I see is the control box.

If you remove the code that sets AllowTransparency to false, does the form start behaving properly again (except for transparency?). The .NET documentation says this property is not intended to be used directly from your code:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsFormClassAllowTransparencyTopic.asp

I'm not sure what's going on with your form, but make sure you look in the "Windows Form Designer Generated Code" section for other settings that could be causing a problem. You may want to create a new MM .NET Windows Forms app and compare the settings in that form to the form that's giving you problems.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform