| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 776 人关注过本帖
标题:程序连编以后出现如下界面!!
只看楼主 加入收藏
lrongw
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-6-5
收藏
 问题点数:0 回复次数:8 
程序连编以后出现如下界面!!

图片附件: 游客没有浏览图片的权限,请 登录注册


高手们,帮忙解决一下,我的主程序是这样的!!

set sysmenu off
set sysmenu to
set status bar off
set talk off
set notify off
set clock status
set palette off
set bell on
set safety off
set esca off
set keycomp to windows
set carry on
set confirm on
set exact on
set near on
set ansi on
set lock on
set exclusive off
set multilocks on
set deleted on
set optimize on
set refresh to 0.5
set sysformats off
set seconds on
set century on
set currency left
set currency to 'nt$'
set hours to 12
set decimals to 2
set fdow to 1
set fweek to 1
set point to '.'
set date to ansi
set safe off
set dele on &&不处理已删除的记录
set cent on
set date to ansi
set help off
close all
clear all

deactivate window "项目管理器"
RELEASE WINDOW 常用 &&去掉常用窗口
RELEASE WINDOW 命令
_screen.icon=":/..\graph07.ico"
_screen.backcolor=rgb(51,128,192)
MODIFY WINDOW SCREEN TITLE "诺曼地原材料统计管理系统 "
_screen.controlbox=.t.
_screen.movable=.f.
_screen.maxbutton=.f.
_screen.minbutton=.t.
_screen.closable=.f.
_screen.titlebar=0
_screen.windowstate=2

set sysmenu off
set sysmenu to
set talk off
set delete on
set exact off
set safety off
set status bar off
set century on
set date YMD
close all
clear all

PUBLIC zong

copy file ":/..\胶类.dbf" to ":/..\jl.dbf"
copy file ":/..\炭黑.dbf" to ":/..\th.dbf"
copy file ":/..\促进剂.dbf" to ":/..\cjj.dbf"
copy file ":/..\其它.dbf" to ":/..\qt.dbf"

sele 1
use jl excl

sele 2
use th excl

sele 3
use cjj excl

sele 4
use qt excl

sele 5
use jljxm excl

sele 6
use thjxm excl

sele 7
use cjjxm excl

sele 8
use qtjxm excl

sele 9
use bcd excl

sele 10
use tubiao excl

*******
do form 总界面
READ EVENTS



搜索更多相关主题的帖子: 界面 
2006-06-14 23:50
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
要是让主窗口不出现,则_SCREEN.VISIBLE=.F.

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2006-06-15 00:03
lrongw
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-6-5
收藏
得分:0 

加入此行,连编以后还是原来的样子啊,



set sysmenu off
set sysmenu to
set status bar off
set talk off
set notify off
set clock status
set palette off
set bell on
set safety off
set esca off
set keycomp to windows
set carry on
set confirm on
set exact on
set near on
set ansi on
set lock on
set exclusive off
set multilocks on
set deleted on
set optimize on
set refresh to 0.5
set sysformats off
set seconds on
set century on
set currency left
set currency to 'nt$'
set hours to 12
set decimals to 2
set fdow to 1
set fweek to 1
set point to '.'
set date to ansi
set safe off
set dele on &&不处理已删除的记录
set cent on
set date to ansi
set help off
close all
clear all

deactivate window "项目管理器"
RELEASE WINDOW 常用 &&去掉常用窗口
RELEASE WINDOW 命令
_screen.icon=":/..\graph07.ico"
_screen.backcolor=rgb(51,128,192)
MODIFY WINDOW SCREEN TITLE "诺曼地原材料统计管理系统 "
_screen.controlbox=.t.
_screen.movable=.f.


_SCREEN.VISIBLE=.F.



_screen.maxbutton=.f.
_screen.minbutton=.t.
_screen.closable=.f.
_screen.titlebar=0
_screen.windowstate=2

set sysmenu off
set sysmenu to
set talk off
set delete on
set exact off
set safety off
set status bar off
set century on
set date YMD
close all
clear all

PUBLIC zong

copy file ":/..\胶类.dbf" to ":/..\jl.dbf"
copy file ":/..\炭黑.dbf" to ":/..\th.dbf"
copy file ":/..\促进剂.dbf" to ":/..\cjj.dbf"
copy file ":/..\其它.dbf" to ":/..\qt.dbf"

sele 1
use jl excl

sele 2
use th excl

sele 3
use cjj excl

sele 4
use qt excl

sele 5
use jljxm excl

sele 6
use thjxm excl

sele 7
use cjjxm excl

sele 8
use qtjxm excl

sele 9
use bcd excl

sele 10
use tubiao excl

*******
do form 总界面
READ EVENTS



老婆不去深圳,留在天津!!
2006-06-15 00:11
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
这样设想,你需要保留主窗口,菜单留在主窗口,所有表单通过菜单调用,则_SCREEN.VISIBLE=.T.,但不要用MODI WINDOWS SCREEN TITLE这个命令,直接使用_SCREEN.CAPTION=[标题]

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2006-06-15 00:18
lrongw
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-6-5
收藏
得分:0 

还是原来那样子了,连编完直接运行,如图所示,
关闭所有,然后点刚连编完的EXE,界面闪一下就没了,


set sysmenu off
set sysmenu to
set status bar off
set talk off
set notify off
set clock status
set palette off
set bell on
set safety off
set esca off
set keycomp to windows
set carry on
set confirm on
set exact on
set near on
set ansi on
set lock on
set exclusive off
set multilocks on
set deleted on
set optimize on
set refresh to 0.5
set sysformats off
set seconds on
set century on
set currency left
set currency to 'nt$'
set hours to 12
set decimals to 2
set fdow to 1
set fweek to 1
set point to '.'
set date to ansi
set safe off
set dele on &&不处理已删除的记录
set cent on
set date to ansi
set help off


deactivate window "项目管理器"
RELEASE WINDOW 常用 &&去掉常用窗口
RELEASE WINDOW 命令
_screen.icon=":/..\graph07.ico"
_screen.backcolor=rgb(51,128,192)

_SCREEN.CAPTION=[诺曼地原材料统计管理系统]

_screen.controlbox=.t.
_screen.movable=.f.

_SCREEN.VISIBLE=.t.

_screen.maxbutton=.f.
_screen.minbutton=.t.
_screen.closable=.f.
_screen.titlebar=0
_screen.windowstate=2

set sysmenu off
set sysmenu to
set talk off
set delete on
set exact off
set safety off
set status bar off
set century on
set date YMD


PUBLIC zong

copy file ":/..\胶类.dbf" to ":/..\jl.dbf"
copy file ":/..\炭黑.dbf" to ":/..\th.dbf"
copy file ":/..\促进剂.dbf" to ":/..\cjj.dbf"
copy file ":/..\其它.dbf" to ":/..\qt.dbf"

sele 1
use jl excl

sele 2
use th excl

sele 3
use cjj excl

sele 4
use qt excl

sele 5
use jljxm excl

sele 6
use thjxm excl

sele 7
use cjjxm excl

sele 8
use qtjxm excl

sele 9
use bcd excl

sele 10
use tubiao excl

*******
do form 总界面
READ EVENTS



老婆不去深圳,留在天津!!
2006-06-15 00:32
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
建议你用菜单来调用表单。即先运行菜单,后通过菜单的调用来执行表单。

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2006-06-15 00:35
lrongw
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-6-5
收藏
得分:0 
用程序直接调用主表单,用主表单调用各表单,我用的是这个能帮我的忙吗?呵呵!!

老婆不去深圳,留在天津!!
2006-06-15 00:40
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
那你要将主表单设置成顶层表单,而各被调用的表单设置成在主表单中,而且要事先将主窗口关闭或不可见。具体的操作你自己做吧。

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2006-06-15 00:50
lrongw
Rank: 1
等 级:新手上路
帖 子:21
专家分:0
注 册:2006-6-5
收藏
得分:0 
明天在说吧,我困死了,受不了了,

老婆不去深圳,留在天津!!
2006-06-15 01:01
快速回复:程序连编以后出现如下界面!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018256 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved