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
Title:
Strange UI problem
Miscellaneous
Thread ID:
00877964
Message ID:
00877964
Views:
50
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.

I tried setting windowstate to maximize and starting position to centerscreen, but it always starts at random positions with only the control box showing.

Can anyone help me with this.



public MainForm()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
// Make sure the application configuration file exists
if (!mmAppSettingsManager.ConfigFileExists)
{
throw new mmAppConfigNotFoundException(
"The application configuration file '" +
mmAppSettingsManager.ConfigFileName +
"' was not found.");
}
this.AllowTransparency=false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.WindowState=System.Windows.Forms.FormWindowState.Maximized;
}
--------------------------
Clay Angelly
cangelly@ie-inc.com
Never argue with an idiot. They drag you down to their level and beat you with experience.
Next
Reply
Map
View

Click here to load this message in the networking platform