急!急!关于菜单中变量的引用

bbsuner 2001-11-28 10:50:35
string c
declare c1 cursor for
select menu_item from quanxian_tab where operator_no=:operator and remark='0';
open c1;
fetch c1 into :c;
do while sqlca.sqlcode=0
m_main.c.visible=false
fetch c1 into :c;
loop
commit;
上面的这段程序编译时它提示incompatible property c for type m_main
也就是说m_main.c.visible中的c不被识别我的意思大家明白吧, 我把所有的菜单项放在了quanxian_tab中然后把符合条件的项给选出了让它的可见性变成false.
问问大家m_main.c.visible我怎样解决?谢谢!
...全文
51 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
brightstar 2001-11-28
  • 打赏
  • 举报
回复
这么用不允许./
用坐标引用.
oursii 2001-11-28
  • 打赏
  • 举报
回复
不能用item表达visible的,你试试这个:
You also can use the Show and Hide functions to change the visibility of an object.

1,079

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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