Profile Picture

XP show frame when set not to show.

Posted By JSW W. 13 Years Ago
Author
Message
JSW W.
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
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

Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
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;

Best Regards,
Nevron Support Team



JSW W.
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
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



Similar Topics


Reading This Topic