By JSW W. - Wednesday, February 2, 2011
FormBorderStyle = none I set above in design to create splash page at start program.
It works fine in Windows 7... but in XP the frame just show, what could go wrong there?
Imports Nevron.UI.WinForm.Controls '
_ Partial Class SplashScreen Inherits NForm
|
By Nevron Support - Wednesday, February 2, 2011
Hello JSW W.,
To remove the frame of NForm under XP you need to set its FrameAppearance property as follows:
NForm frm = new NForm(); NFrameAppearance frameAppearance = new NFrameAppearance(); frameAppearance.BottomBorder = 0; frameAppearance.LeftBorder = 0; frameAppearance.RightBorder = 0; frameAppearance.CaptionHeight = 0; frameAppearance.ButtonSize = Size.Empty; frm.FrameAppearance = frameAppearance;
To prevent displaying the form frame under Vista or W7 you should also set FormBorderStyle to None as in regular form: frm.FormBorderStyle = FormBorderStyle.None;
|
By JSW W. - Wednesday, February 2, 2011
in XP i found that if i disable "useGlassIfEnable = false" then also disable Skin=false ... along with formborderStyle = none then XP will show no frame
|
|