关于vf编程的问题clearset talk offset sysmenu offset sysmenu to set deleted offset status bar offset date ansiset safety offclear allclose all_screen.windowstate=2_screen.caption="学籍管理系统"do form 登录器 to ratif rat=.t.do 学生

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 10:32:44
关于vf编程的问题clearsettalkoffsetsysmenuoffsetsysmenutosetdeletedoffsetstatusbaroffsetdateansisetsafetyoff

关于vf编程的问题clearset talk offset sysmenu offset sysmenu to set deleted offset status bar offset date ansiset safety offclear allclose all_screen.windowstate=2_screen.caption="学籍管理系统"do form 登录器 to ratif rat=.t.do 学生
关于vf编程的问题
clear
set talk off
set sysmenu off
set sysmenu to
set deleted off
set status bar off
set date ansi
set safety off
clear all
close all
_screen.windowstate=2
_screen.caption="学籍管理系统"
do form 登录器 to rat
if rat=.t.
do 学生管理菜单.mpr
read events
endif
set sysmenu on
set sysmenu to default
set status bar on
close all
clear all
return
错误提示:to 子句只能用于模式表单或表单集
点忽略后又提示 找不到变量 rat

关于vf编程的问题clearset talk offset sysmenu offset sysmenu to set deleted offset status bar offset date ansiset safety offclear allclose all_screen.windowstate=2_screen.caption="学籍管理系统"do form 登录器 to ratif rat=.t.do 学生
是呀,只要把登录器表单的属性windowtype改成1-模式
只有模式表单才可以使用to 或者with 来传递参数