|
-
Mar 26th, 2008, 07:05 AM
#1
Thread Starter
Member
how to remove te red cross bottom form
how to remove te red cross buttom form?
The other bottoms may exist.
I am using VB 2008
Last edited by Compyfreak; Mar 26th, 2008 at 07:13 AM.
-
Mar 26th, 2008, 07:08 AM
#2
Re: how to remove te red cross bottom form
Huh? "Red cross bottom form"? What is it are you refering to?
-
Mar 26th, 2008, 07:14 AM
#3
Thread Starter
Member
Re: how to remove te red cross bottom form
I am sorry I made a writing error , it must be button.

It the red cross on the top right of the form, you can close the form with this button
-
Mar 26th, 2008, 07:22 AM
#4
Fanatic Member
Re: how to remove te red cross bottom form
Under Form Properties select ControlBox. Set this to False.
-
Mar 26th, 2008, 07:24 AM
#5
Re: how to remove te red cross bottom form
I think he means the close button.
-
Mar 26th, 2008, 07:25 AM
#6
Re: how to remove te red cross bottom form
it's an "X", not a cross (+) .... and it's known as the Form Close Button. I'm not sure if it's possible to remove it w/o also removing the control box menu (when you click on the form's icon) and the other buttons.... I know it's possible to remove the other buttons and leave the close button.... but the other way around... I don't know.
If you are trying to prevent the form from being closed, what you can do is use the Form's Closing event to see how the form is being closed and if it's because the suer clicked the close button, then set the e.cancel to true and the form won't close.
-tg
-
Mar 26th, 2008, 07:26 AM
#7
Fanatic Member
Re: how to remove te red cross bottom form
And that is exacally what it does.
Setting ControlBox to False removes the Close button on the top right.
-
Mar 26th, 2008, 07:27 AM
#8
Re: how to remove te red cross bottom form
 Originally Posted by Lerroy_Jenkins
And that is exacally what it does.
Setting ControlBox to False removes the Close button on the top right.
And the minimize/maximize buttons.
-
Mar 26th, 2008, 07:28 AM
#9
Fanatic Member
Re: how to remove te red cross bottom form
Well true, but I assumed that if they did not want the person to close the program, why would they want them to minimise or maximise?
Sorry for not stating sooner.
-
Mar 26th, 2008, 07:58 AM
#10
Thread Starter
Member
Re: how to remove te red cross bottom form
Thank you for correcting me on the terms.
That is what I was afraid from.
I think the only sollution is preventing the form to close.
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
|