VFP根据分辩率调整表单
来源:百度文库 编辑:神马文学网 时间:2024/04/19 02:40:18
VFP根据分辩率调整表单
[ 2005-10-13 10:18:23 | 作者:花狐狸 ]
:||
表单的Init:
local InHeight ,InWidth,InHeightDiff,InWidthDiff
YH=480
YW=640
HBL=0
WBL=0
if sysmetric(2)<>YH
HBL=sysmetric(2)/YH
WBL=sysmetric(1)/YW
this.height=this.height*HBL
this.width=this.width*WBL
this.top=this.top*HBL
this.left=this.left*WBL
for i=1 to this.controlcount
with this.controls(i).height=height*HBL
width......
if type("fontsize")<>"U"
fontsize=fontsize*((5*WBL)+(5*HBL))
endif
endwith
endfor
endif
thisform.refresh
[ 2005-10-13 10:18:23 | 作者:花狐狸 ]
:||
表单的Init:
local InHeight ,InWidth,InHeightDiff,InWidthDiff
YH=480
YW=640
HBL=0
WBL=0
if sysmetric(2)<>YH
HBL=sysmetric(2)/YH
WBL=sysmetric(1)/YW
this.height=this.height*HBL
this.width=this.width*WBL
this.top=this.top*HBL
this.left=this.left*WBL
for i=1 to this.controlcount
with this.controls(i).height=height*HBL
width......
if type("fontsize")<>"U"
fontsize=fontsize*((5*WBL)+(5*HBL))
endif
endwith
endfor
endif
thisform.refresh
VFP根据分辩率调整表单
VFP 主程序设计 表单窗口
★VFP基础教程第七章表单基本概念-
VFP
VFP
VFP
如何根据舌苔调整饮食
根据舌苔的变化来调整饮食
真胸假胸?任君来分辩
技术分析的核心:根据市场状态调整交易策略
如何根据舌苔调整饮食(图) - 生活说明书
VFP主程序
VFP视频教程
如何分辩大叶种乔木,灌木
玩转表单之花样表单 表单,花样表单
玩转表单之花样表单 表单,花样表单
表单制作
表单美化
技术分析的核心:根据市场状态调整交易策略1
技术分析的核心:根据市场状态调整交易策略1
vfp Common Dialogs
VFP教程要点2
vfp 怎样编写主程序
VFP教程要点