incompatiable types in assignment

wzh2021 2011-12-14 09:08:04


guo_picture2 pic[]
pic[1]=uo_new
pic[2]=uo_save
pic[3]=uo_delete
pic[4]=p_split_1

pic[5]=uo_jz
pic[6]=uo_3
pic[7]=uo_hzcx
pic[8]=uo_print//就是此处报错
pic[9]=p_split_2


incompatiable types in assignment:guo_picture2,uo_print
...全文
180 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wzh2021 2011-12-14
  • 打赏
  • 举报
回复
改成pic[1]=this.uo_new或者pic[1]=parent.uo_new

不过这个原因 还是很奇怪

难道pb不能自己判别吗?

wzh2021 2011-12-14
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 yyoinge 的回复:]
将uo_print 改名成 uo_print1 试试

应该是你的pbt中存在名称为uo_print的自定义对象
[/Quote]
自己已经解决了 ,回来结贴
不过 你说的是对的

yyoinge
yyoinge 2011-12-14
  • 打赏
  • 举报
回复
将uo_print 改名成 uo_print1 试试

应该是你的pbt中存在名称为uo_print的自定义对象
wzh2021 2011-12-14
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xuam 的回复:]
uo_print能不能正常打开?是不是这个对象损坏了?
[/Quote]
能正常打开的

这些都是从uo_new复制然后改动一下名字而来的

2-7都正常
9以后的也正常
就8报错
xuam 2011-12-14
  • 打赏
  • 举报
回复
uo_print能不能正常打开?是不是这个对象损坏了?

397

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 非技术版
社区管理员
  • 非技术版社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧