We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How can I make my form streach over all the screen?

peruzzi
peruzzi asked
on
Medium Priority
262 Views
Last Modified: 2010-04-05
Hi guys....
How can I make my form streach over all the screen?
also over taskbar like games .

thanks
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
form1.height := screen.height;
form1.width := screen.width;
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

Commented:
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
WHen you clsoe the form, you get the task bar back, see my code above

What are you trying to do here mokule?

Shane

Commented:
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.
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

Commented:
No You don't understand me.
I've just said that WHEN You switch the task bar is hidden. Nothing more.
Right, thats correct.....

Shane

Commented:
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
Whats makes yours more simple then mokule's

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

Shane

Author

Commented:
Hi Guys
thanks for you

peruzzi
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.