Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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:

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)
 
Share this answer
 
Please find some my directions to a resolution-tolerant design: Zom Out malfunctions when Screen resolution changes[^].

—SA
 
Share this answer
 
Hope this[^] might help you.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900