|
-
Feb 9th, 2000, 09:32 PM
#1
Thread Starter
Lively Member
Hi,
I want to disable the restore or resize button on a form. It is the one in the middle of the minimise button and the close /exit program button. It looks like a square. It is in the top right hand corner of screen of most programs. How can I disable it in code and where can i put it in (Form load etc). I'm sorry I dont know the technical names for them... any help is appreciated and thanx in advance
Mike
-
Feb 9th, 2000, 09:40 PM
#2
Member
You can set the form's MaxButton Property to false. You can do this in design time in the Property window.
------------------
Seth
-
Feb 9th, 2000, 09:44 PM
#3
Hyperactive Member
The buttons are called:
Minimize and Maximize. To disable either one just set it to false. You can do it via code or just on the property sheet. If you want to remove the max, min and the close (X) then just set ControlBox to false.
------------------
'cos Buzby says so!'
-
Feb 10th, 2000, 06:01 PM
#4
Thread Starter
Lively Member
Thanx guys..... I knew it was a stupid question and an easy one. Thanks once again.
-
Feb 11th, 2000, 01:22 AM
#5
Addicted Member
There is an interesting answer if you want to
avoid the user from physically resizing your form. Also avoid him from moving the form to other location on the screen. Want it ????
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
|