网络开发 调用API函数 报表打印 常用技术 经验汇总 控件使用 软件工程 数据处理
您的位置:首页 >> vfp教程 >> 网上文摘 >> 常用技术 >> 正文

VFP中最大化屏幕问题
作者: 红虎 出处:网络

    常有人问起如何在VFP中实现屏幕最大化的问题,一次偶然,我发现了这个方法可以实现,遂将之写下来,希望可以给大家带来帮助
一、最大化顶层表单
thisform.caption=""
thisform.minbutton=.f.
thisform.maxbutton=.f.
thisform.closable=.f.
thisform.movable=.f.
thisform.controlbox=.f.
thisform.borderstyle=0
thisform.height=sysmetric(2)
thisform.width=sysmetric(1)
thisform.left=0 thisform.top=0
二、最大化主窗口
_screen.caption=""
_screen.minbutton=.f.
_screen.maxbutton=.f.
_screen.closable=.f.
_screen.movable=.f.
_screen.controlbox=.f.
_screen.borderstyle=0
_screen.height=sysmetric(2)
_screen.width=sysmetric(1)
_screen.left=0 _screen.top=0
另要在config.fpw文件中加入下面两行
resource= off
sysmenu = off

[返回]

     

首页 | 设为首页 | 加入收藏 | 关于本站 | 友情链接 | 版权声明

     
 
Copyright© www.bianceng.cn Powered by 编程入门网 All Rights Reserved
吉ICP备06005558号