Avatar of peruzzi
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
Delphi

Avatar of undefined
Last Comment
peruzzi

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
shaneholmes

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
mokule

form1.height := screen.height;
form1.width := screen.width;
shaneholmes

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
mokule

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
Your help has saved me hundreds of hours of internet surfing.
fblack61
shaneholmes

WHen you clsoe the form, you get the task bar back, see my code above

What are you trying to do here mokule?

Shane
mokule

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.
shaneholmes

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
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
mokule

No You don't understand me.
I've just said that WHEN You switch the task bar is hidden. Nothing more.
shaneholmes

Right, thats correct.....

Shane
Hypoviax

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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
shaneholmes

Whats makes yours more simple then mokule's

form1.height := screen.height;
form1.width := screen.width;

Shane
ASKER
peruzzi

Hi Guys
thanks for you

peruzzi