|
-
Jun 15th, 2008, 02:25 AM
#1
Thread Starter
New Member
Form Resise blocking
Hi,
How can I block a form from resizing for example smaller then 1000 x 1000.
Now i'm using:
Code:
Private Sub Form_Resize()
If Me.Width < 1000 then
Me.Width = 1000
End If
End Sub
But then when you resize it smaller then 1000 the form start flickering and i dont want the form flickering.
Is there another way to block resizing smaller then?
Thank you
Greetz, Tekson
-
Jun 15th, 2008, 02:51 AM
#2
Re: Form Resise blocking
You would need to subclass your form. Proceed with caution.
AllAPI has an example of precisely what you are looking for.
-
Jun 15th, 2008, 02:53 AM
#3
Thread Starter
New Member
Re: Form Resise blocking
 Originally Posted by Logophobic
You would need to subclass your form. Proceed with caution.
AllAPI has an example of precisely what you are looking for.
Yup thats what im looking for .
Thank you very much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|