开发者

How to remove the 'resize triangle' from StatusStrip in VB.NET

开发者 https://www.devze.com 2023-02-11 11:14 出处:网络
I have a Form with a StatusSt开发者_JAVA百科rip component docked at the bottom. The form has fixed width and is not resizable. However the StatusStrip has a little \'resize triangle\' at the right (6

I have a Form with a StatusSt开发者_JAVA百科rip component docked at the bottom. The form has fixed width and is not resizable. However the StatusStrip has a little 'resize triangle' at the right (6 little dots).

This gives the impression that the window is resizable. How can I remove it?


Set the SizeGripStyle to Hide in the designer or programatically with:

yourForm.SizeGripStyle = Windows.Forms.SizeGripStyle.Hide

Edit: Maybe it's the same as mentioned here


From Stefanos's comment, do this:

statusStripObject.SizingGrip = False
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号