By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,450 Members | 945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,450 IT Pros & Developers. It's quick & easy.

Web form maximize

P: n/a
mac
Hi!

Is there anyone knows on how to maximze the Web form during run
time?
please help me to the code of what im going to do with this.
Thanks and Best Regards

May 5 '06 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Hi Mac,
use this JavaScript

<SCRIPT LANGUAGE="JavaScript">

function Minimize()
{
window.innerWidth = 100;
window.innerHeight = 100;
window.screenX = screen.width;
window.screenY = screen.height;
alwaysLowered = true;
}

function Maximize()
{
window.innerWidth = screen.width;
window.innerHeight = screen.height;
window.screenX = 0;
window.screenY = 0;
alwaysLowered = false;
}
</SCRIPT>

"mac" <ma************@hotmail.com> wrote in message
news:uf****************@TK2MSFTNGP02.phx.gbl...
Hi!

Is there anyone knows on how to maximze the Web form during run
time?
please help me to the code of what im going to do with this.
Thanks and Best Regards

May 5 '06 #2

P: n/a
You can't maximize the browser window using code.

You can change the size of the browser windows, as Prakash V showed, but
even that doesn't work in all browsers. Some browsers give the user the
oportunity to disallow changing of the window size and similar features
that are often misused.

mac wrote:
Hi!

Is there anyone knows on how to maximze the Web form during run
time?
please help me to the code of what im going to do with this.
Thanks and Best Regards

May 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.