Click here to Skip to main content
14,243,950 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello sir

I have a problem. Problem is that when we click the button the page is not fit on the screen.

I want the fit the page on screen through code.

Plz give solution for this

Thanks
Arvind kumar singh
Posted
Updated 26-Mar-11 10:47am
v4
Comments
Sandeep Mewara 26-Mar-11 2:59am
   
Your text speak has just made me not answer you! :doh:
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hope this[^] might help you.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Please find some my directions to a resolution-tolerant design: Zom Out malfunctions when Screen resolution changes[^].

—SA
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

dim x as integer \\ width
dim y as integer \\height
x=My.Computer.Screen.WorkingArea.Width
y=My.Computer.Screen.WorkingArea.Height
me.size=new size(x,y)
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100