Results 1 to 5 of 5

Thread: How can I prevent my form from shrinking?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    How can I prevent my form from shrinking?

    hello,

    How can prevent the user from resizing the form's width under
    8400 pixels?
    and for that matter, the height too...

    thanks

    Dekel C.

  2. #2
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    is this u mean ?

    Form1.BorderStyle = vbFixedSingle

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849
    no.. I want the form to be sizable, just not under 8400...
    Dekel C.

  4. #4
    Addicted Member
    Join Date
    Mar 2004
    Posts
    146
    From AllAPI.net -

    "With this program you can set the maximum and minimum size of a form."

    (attatched)
    Attached Files Attached Files

  5. #5
    Hyperactive Member csar's Avatar
    Join Date
    Mar 2002
    Location
    Siam
    Posts
    288

    Lightbulb

    VB Code:
    1. sub form_resize()
    2.  
    3.   if me.width<8400 then
    4.     me.width=8400
    5.   end if
    6.  
    7. end sub
    Don't leave it till tomorrow, Do It Now!
    5361726176757468204368616E63686F747361746869656E

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