Results 1 to 5 of 5

Thread: How do i disable only the maximizing button?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    210

    How do i disable only the maximizing button?

    I have a form that only has the closing button (X) with it.

    I'd like to add a minimizing button (_) but if i do by changing the BoarderStyle, it allows the form to have the maximizing button.

    I want to disable or hide only the maximizing(restore) button. How can I do that?

    Thanks in advance,

  2. #2
    Lively Member Professor29's Avatar
    Join Date
    Feb 2002
    Posts
    89
    If you look at the form properties, it should have MaxButton as one of the properties. Change it to false. The max button will still show, but it will be disabled.
    ERROR: No keyboard detected. Hit F1 to continue.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    210
    but i also don't want the form to be sizable...

  4. #4
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    Change the Form BorderStyle to 1 - Fixed Single

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    210
    Oh. Never mind. I just had to enable MinButton.

    Thanks.

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