社区
脚本语言
帖子详情
錯誤Cannot assign object of type name to variable of type name
菜鸟级程序员
2015-12-19 10:36:40
我這樣寫if not IsValid(GetFocus()) then return
提示這裡出錯,無誤提示Cannot assign object of type name to variable of type name
這個該從哪方面解決
...全文
2468
3
打赏
收藏
錯誤Cannot assign object of type name to variable of type name
我這樣寫if not IsValid(GetFocus()) then return 提示這裡出錯,無誤提示Cannot assign object of type name to variable of type name 這個該從哪方面解決
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
jlwei888
2015-12-19
打赏
举报
回复
IsValid(GetFocus())有错误,不能这么写,你要干嘛
菜鸟级程序员
2015-12-19
打赏
举报
回复
PB都沒人了
A啦Dbit
2015-12-19
打赏
举报
回复
如果有焦点 GetFocus()肯定是valid 估计用法不对
delphi编译错误.txt
Cannot
assign
to a read-only property 不能指定只读属性 Cannot BREAK, CONTINUE or EXIT out of a FINALLY clause 超出FINALLY子句的范围,不能使用BREAK,CONTINUE或EXIT语句 Cannot initialize local
variable
s ...
PB错误代码
string ls_msg choose case errornumber case 1//by zero ls_msg = "發生被0除
錯誤
" case 2//2 Null
object
reference ls_msg = "空對象引用" case 3//3 Array boundary exceeded ls_msg = "陣列越界" ...
JavaScript中Location对象详解
port:返回一个URL服务器使用的端口号 protocol:返回一个URL协议 search:返回一个URL的查询部分 方法如下: Location对象-方法-
assign
() Location对象-方法-reload() Location对象-方法-replace()
【转载】C++ Const关键字用法总结
这一句会提示 error: cannot
assign
to
variable
‘a’ with const-qualified
type
'const A’ 而a.test()会提示 error: ‘this’ argument to member function ‘test’ has
type
‘const A’, but function is not...
Cannot
assign
a TFont to a TFont!!
Cannot
assign
a TFont to a TFont!! There are lots of resources and solutions out there on the internet that are specific to this problem, however, in using the BusinessSkinForm components, that...
脚本语言
740
社区成员
8,036
社区内容
发帖
与我相关
我的任务
脚本语言
PowerBuilder 脚本语言
复制链接
扫一扫
分享
社区描述
PowerBuilder 脚本语言
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章