Click here to Skip to main content
14,545,210 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have a form and a bunch of controls inside it. I just want to know how can I minimize the form but not too small? I want the form to minimize depending on the controls inside it. I don't know how to do this.

The minimized button is working fine but if you place your cursor on the edges of the form and resize it by dragging it becomes so small. I want to avoid that. I want the form to be still resizable using the dragging of the mouse but I don't want it to be so small that you can't even see the controls inside it.

What I have tried:

I haven't tried anything yet. I don't have any idea how to do this right.
Posted
Updated 20-May-20 22:54pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
lelouch_vi 2 21-May-20 22:05pm
   
hi OriginalGriff, It's kinda funny when you're frustrated about something that you can't achieve, that you overlook the solution that is just right in front of your face. hahah.

I got it working now. All I have to do is to set the minimum size in the properties. Very simple isn't it? hahah I'm really sorry for asking that silly question. Thanks!
OriginalGriff 22-May-20 2:01am
   
Not a problem, we all do it!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100