August 15th, 2013, 03:32 AM
I have no problem allowing resizing MDIForm ?
I encountered no problems when resizing allows MDIForm, when running this code below:
Private mHeight As Long, mWidth As Long
Private Sub MDIForm_Load()
mHeight = Me.Height
mWidth = Me.Width
'disable mdi form resize
Private Sub MDIForm_Resize()
Me.WindowState = 0 'Normal
Me.Height = mHeight
Me.Width = mWidth
when I press MinButton of MIDIForm not. can change the code above to just have two functions: do not allow to resize and allow MinButton (or allow MaxButton) of MDIForm it ?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!