XP show frame when set not to show.


Author
Message
JSW W.
JSW W.
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
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
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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.
JSW W.
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
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search