Results 1 to 3 of 3

Thread: Form Resise blocking

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2008
    Posts
    9

    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

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2008
    Posts
    9

    Re: Form Resise blocking

    Quote 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
  •  



Click Here to Expand Forum to Full Width