peruzzi
asked on
How can I make my form streach over all the screen?
Hi guys....
How can I make my form streach over all the screen?
also over taskbar like games .
thanks
How can I make my form streach over all the screen?
also over taskbar like games .
thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
peruzzi,
I would recommend you Ā place a temporary button on the form with
Close;
in the OnClick event,
then you can remove he button when your done developing your application
or when you have added an alternative method of exiting the application.
Shane
I would recommend you Ā place a temporary button on the form with
Close;
in the OnClick event,
then you can remove he button when your done developing your application
or when you have added an alternative method of exiting the application.
Shane
peruzzi
1. If You hide the taskbar like Shane advice there will be no taskbar when You switch from your application to another using Alt+Tab.
2. It is also possible to close your application by Alt+F4
1. If You hide the taskbar like Shane advice there will be no taskbar when You switch from your application to another using Alt+Tab.
2. It is also possible to close your application by Alt+F4
WHen you clsoe the form, you get the task bar back, see my code above
What are you trying to do here mokule?
Shane
What are you trying to do here mokule?
Shane
I didn't talk about closing application, but switching to another.
Am I not right?
Excuse me Shane but I don't understand Your question.
Am I not right?
Excuse me Shane but I don't understand Your question.
Well, if i understand you correctly, you say that with my solution, you can't Alt-Tab to other apps! - and I say you can!
Shane
Shane
No You don't understand me.
I've just said that WHEN You switch the task bar is hidden. Nothing more.
I've just said that WHEN You switch the task bar is hidden. Nothing more.
Right, thats correct.....
Shane
Shane
Very easy. You don't need to do all this other fancy stuff just set the properties of the form:
- Windowstate - wsmaximised
- BorderStyle - bsnone
And if you want to have it ontop of all programs set
-FormStyle - Fsstayontop
. To bring the program to the top call
formx.bringtofront
Regards,
Hypoviax
- Windowstate - wsmaximised
- BorderStyle - bsnone
And if you want to have it ontop of all programs set
-FormStyle - Fsstayontop
. To bring the program to the top call
formx.bringtofront
Regards,
Hypoviax
Whats makes yours more simple then mokule's
form1.height := screen.height;
form1.width := screen.width;
Shane
form1.height := screen.height;
form1.width := screen.width;
Shane
ASKER
Hi Guys
thanks for you
peruzzi
thanks for you
peruzzi
form1.width := screen.width;