Would it not be better to use two seperate if statements like this:Originally Posted by Hell-Lord
vb Code:
Private Sub Form_Resize() If Me.Width < 11640 Then Me.Width = 11640 If Me.Height < 6105 Then Me.Height = 6105 End Sub
This way it means that the width can be reset while leaving the height alone and vice versa.





Reply With Quote