下面的小代码

ipotang 2004-04-11 08:19:17
dim str1 as variant
dim str2 as variant
for each str1 in controls
for each str2 in controls
if str1.name=str2.name then
debug.print str1.caption&" "&str2.caption
end if
next
next
不知道print str1.caption&" "&str2.caption是什么意思。请指点
...全文
56 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wumy_ld 2004-04-12
  • 打赏
  • 举报
回复
把几个字符串连接起来。
northwolves 2004-04-11
  • 打赏
  • 举报
回复
连接字符
ipotang 2004-04-11
  • 打赏
  • 举报
回复
str1.caption&" "&str2.caption 中&是什么?
artoksxb 2004-04-11
  • 打赏
  • 举报
回复
在窗体上打印两个具有相同名字的控件的标题了
huangjianyou 2004-04-11
  • 打赏
  • 举报
回复
在立即窗口显示两个名称相同的控件的标题.

7,762

社区成员

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

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