Delphi编译错误:Cannot focus a disabled or invisible window 5 - 解
来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/30 11:41:39
Delphi编译错误:Cannot focus a disabled or invisible window 5 - 解决时间:2008-6-7 17:15 这个窗体是在一个主窗体的popupmenu中调用显示此模块,可是出错.我的那个被调用的窗体是从别处加载过来的,如果不重新创建类似的窗体,还有其他办法吗?到底是什么原因呢?你是在未初始化前就调用了它,你可以在调用的程序段中判断它的类是否为空,空的话调用它的创建函数来初始化它,你也可以设置断点来查看.例如有个模块MAINDM需要调用,加入下面的语句.IF MAINDM=NIL THEN //maindm模块的判断 MAINDM:=MAINDM.Create(APPLICATION); //创建模块根据你自己的程序改吧 提问者对于答案的评价:是被调用窗体属性的问题,其中主要的是把visible设为真,已经调好了谢谢诸位 我想问问visible设为真是什么东西 应该怎么设置 我的是财务软件使用时出现错误窗口 Cannot focus a disabled or invisible window
Cannot focus a disabled or invisible window 这洋文的意思是,不能将焦点移动到一个没有显示的窗体上的控件中.出现这种错误的原因,一般都是先执行某窗体上某控件得到焦点,然后再执行某窗体显示的命令而造成的.
Don't focus on what you cannot remember or understand.
delphi 中出现cannot perform this operation on a closed dataset问
delphi编译问题:line too long(more than 1023 characters)
A mind focused on doubt and fear cannot focus on the journey
a disabled children's
delphi if a in[1,2,3,4,5] then b='c' else b=''
Delphi 查询 Access 错误:Field 平均 not found
myeclipse 编译错误:“invalid argument to operation ++/--”
cannot find symbol错误
cannot find symbol;错误
cannot resolve symbol :错误!
翻译:perhaps you are a poor speller or cannot add up a column