我们如何更改屏幕分辨率以适合屏幕 [英] How we change the screen resolution to fit the screen
本文介绍了我们如何更改屏幕分辨率以适合屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,先生
我有个问题.问题是,当我们单击按钮时,页面无法显示在屏幕上.
我希望通过代码适合屏幕上的页面.
请为此提供解决方案
谢谢
Arvind kumar singh
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
推荐答案
希望此 [<一个href ="http://www.vb-helper.com/tutorial_sizing_forms.html" target ="_ blank" title ="New Window"> ^ ]可能会为您提供帮助.
Hope this[^] might help you.
请找到我的分辨率设计指南:屏幕分辨率更改时,Zom Out发生故障 [^ ].
—SA
Please find some my directions to a resolution-tolerant design: Zom Out malfunctions when Screen resolution changes[^].
—SA
将x视为整数\\宽度
将y暗淡为整数\\ height
x = My.Computer.Screen.WorkingArea.Width
y = My.Computer.Screen.WorkingArea.Height
me.size =新尺寸(x,y)
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)
这篇关于我们如何更改屏幕分辨率以适合屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文