NO Resize

andioliver
03-17-2003, 08:41 AM
I am wondering how can I stop resize window efect?
I mean I want my form to remain at the same size and just minimize the window will be possible. At present time this is my code, any idea for a better one?:

Private Sub Form_Resize()
Me.Height = 7830
Me.Width = 9495
' this are the values that I want my form to remain to
End Sub

Squirm
03-17-2003, 08:45 AM
Set the BorderStyle property to Fixed Single

andioliver
03-17-2003, 08:46 AM
Set the BorderStyle property to Fixed Single


thank you

but I want my minimize action to remain....

Squirm
03-17-2003, 08:54 AM
Set the MinButton property to True

andioliver
03-17-2003, 09:03 AM
Set the MinButton property to True


This worked fine, thanks. But there is a way to apply the same conditions to a mdiForm?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum