?
Solved

make my  form and its controls fit any size screen resolution

Posted on 2014-10-14
2
Medium Priority
?
120 Views
Last Modified: 2014-10-16
Hi Experts
I am developing my application on screen 1024 x 768
I would like to fill the whole screen on other PC with  different resolutions.
Please help
Thanks
0
Comment
Question by:b001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Assisted Solution

by:sammySeltzer
sammySeltzer earned 1000 total points
ID: 40381190
You didn't show what you  have so far but you can do one of two things:

1, use stylesheet with fixed positioning:

<style type="text/css">
#entireScreen
{         
    position:fixed;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
}
</style>

Open in new window


Then
<body>
   <div id="entireScreen">
rest of html code
</div>
</body>

Open in new window


OR

Use JavaScript:
<script type="text/JavaScript">

        function FillScreen()
        {
            document.getElementById(entireScreen).style.Width= window.innerWidth +'px';
        }
        window.onresize = FillScreen;
        FillScreen();
    </script>

Open in new window


Something like these two, I think will do it
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1000 total points
ID: 40382209
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question