Hi all,
I just want to know what is the best solution for this problem?
I have a form and i have set its maximize button to false so i dont' allow users to resize it. But still users can minimize the form.
i have kept the code bellow in the form resize event:
Me.Height = 7305
Me.Width = 8895
so if the user resize the form it comes back to its predefined size.
The problem is that if the user minimize the form by pressing the minimize buttun it crashes and raises the above error:
any solution?
regards
I just want to know what is the best solution for this problem?
I have a form and i have set its maximize button to false so i dont' allow users to resize it. But still users can minimize the form.
i have kept the code bellow in the form resize event:
Me.Height = 7305
Me.Width = 8895
so if the user resize the form it comes back to its predefined size.
The problem is that if the user minimize the form by pressing the minimize buttun it crashes and raises the above error:
any solution?
regards