VFP,主程序里写了以下代码,为什么系统提示关闭不了VFP?
cleareventsclearallsettalkonsetdeleteondoform表单1readevents...
clear events
clear all
set talk on
set delete on
do form 表单1
read events 展开
clear all
set talk on
set delete on
do form 表单1
read events 展开
2个回答
展开全部
1.系统设置
2.程序路径设置
3.打开数据库,菜单,初始登陆界面
4.非常重要的一句代码read events, 否则程序一闪二过
5.例子:_screen这个是vfp主程序这个窗口,如果你用自己的表单,那么把它隐藏,否则直接用
SET TALK OFF
SET DELETED ON
SET ESCAPE OFF
SET EXCLUSIVE OFF
SET CONSOLE ON
SET DATE ANSI
SET CENTURY ON
SET SAFETY OFF
SET STATUS BAR off
SET SYSMENU OFF
SET SYSMENU TO
SET NOTIFY OFF
SET DEFAULT TO sys(5)+sys(2003)
CLEAR
CLEAR ALL
public auth,alert,nrecord
alert=0
nrecord=0
auth=0
do menus\main2.mpr
_SCREEN.CAPTION="单证处理系统"
_SCREEN.CLOSABLE=.F.
_SCREEN.CONTROLBOX=.F.
_SCREEN.PICTURE="PIC\C.JPG"
_SCREEN.LEFT=-1500
_SCREEN.TOP=0
_SCREEN.VISIBLE=.F.
OPEN DATABASE 单证
DO FORM forms\欢迎界面
READ EVENTS
2.程序路径设置
3.打开数据库,菜单,初始登陆界面
4.非常重要的一句代码read events, 否则程序一闪二过
5.例子:_screen这个是vfp主程序这个窗口,如果你用自己的表单,那么把它隐藏,否则直接用
SET TALK OFF
SET DELETED ON
SET ESCAPE OFF
SET EXCLUSIVE OFF
SET CONSOLE ON
SET DATE ANSI
SET CENTURY ON
SET SAFETY OFF
SET STATUS BAR off
SET SYSMENU OFF
SET SYSMENU TO
SET NOTIFY OFF
SET DEFAULT TO sys(5)+sys(2003)
CLEAR
CLEAR ALL
public auth,alert,nrecord
alert=0
nrecord=0
auth=0
do menus\main2.mpr
_SCREEN.CAPTION="单证处理系统"
_SCREEN.CLOSABLE=.F.
_SCREEN.CONTROLBOX=.F.
_SCREEN.PICTURE="PIC\C.JPG"
_SCREEN.LEFT=-1500
_SCREEN.TOP=0
_SCREEN.VISIBLE=.F.
OPEN DATABASE 单证
DO FORM forms\欢迎界面
READ EVENTS
网易云信
2023-12-06 广告
2023-12-06 广告
UIkit是一套轻量级、模块化且易于使用的开源UI组件库,由YOOtheme团队开发。它提供了丰富的界面元素,包括按钮、表单、表格、对话框、滑块、下拉菜单、选项卡等等,适用于各种类型的网站和应用程序。UIkit还支持响应式设计,可以根据不同...
点击进入详情页
本回答由网易云信提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询