Results 1 to 20 of 20

Thread: How to restrict form resize?

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2003
    Posts
    219

    Question How to restrict form resize?

    Is there a way to restrict form resize to certain size? I want to allow user to resize the form to a certain minimum size only, but I'm not sure how to do that. Here's the problem why I want to limit mininum form resize. I've created a couple of textboxes and datagrid. I have two buttons that are below textbox5. The textbox5 is Anchor to Top,Bottom,Left,Right. The two buttons are Anchor to Bottom,Left. The problem is when the user resize the form to smaller size than normal, those two buttons are coming on top of those textboxes and datagrid. If I set the Anchor for those two buttons as Top,Left, then when the form is enlarged by the user, the textbox5 is coming underneath the two buttons. I have tried using the GroupBox, but I can't get rid of the square lines that suround the two buttons. The best way would be to figure out how to not have those two buttons go on top of any object when resizing, but I don't know how that is done.

    Any help is greatly appreciated.

    ljCharlie
    Last edited by Chong; Dec 18th, 2003 at 04:23 PM.

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