How the disable the resize function of a form
-
as topic, i wan to disable to user from resize the form size.. anyway can do this? anyhelp is appreciated... VB.NET
1. Change the FormBorderStyle Property of the form to FixedSingle or FixedDialog 2. Override the OnResize method and set the size to be constant. Free your mind...
-
as topic, i wan to disable to user from resize the form size.. anyway can do this? anyhelp is appreciated... VB.NET
In VB.Net form, under Properties of the form, you should set the Maximize button to "FALSE" and there is a Minimumzise & Maximumsize that you need to supply its values in order to disable the maximize button, e.g form size is 300X300, so set Minimumsize to 300 & maximumsize to 300...
-
as topic, i wan to disable to user from resize the form size.. anyway can do this? anyhelp is appreciated... VB.NET
If you haven't resolved this yet..... 'In the Resize event of your form set the size properties to be constant Private Sub MDIForm_Resize() On Error GoTo Handler With Me .Height = g_lngHeight + 1425 .Width = g_lngWidth + 180 .Top = 0 End With Exit Sub Cliff