乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: comcu

[编程交流] 使用数组文本框值i

[复制链接]

34

主题

105

帖子

91

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
224
发表于 2022-7-6 18:21:25 | 显示全部楼层
Rochey,
 
Thank you for the help.
 
 
Sorry if I wasn’t clear but I added an example of the error
 
 
The 1st form code runs fine its when the 2nd form runs instead of what I want I get “600 + 150” then “600 + 250” then “600 + 350” so it only using the last value in the textbox1 array.
 
 
The reason I have a control array dimmed was I was trying to make
 

[code]MyBayWidVarCodeAvailable when the second form runs[code]For I = 0 To CntMyTranYpos = TxtbxTransomYSrtPos(I).ValueMyBayWidVar = UFAutoDrwCwMullInpt.TxtbxMullionXSrtPos(I).Value' without this added it runs but only remembers the value of the last textbox1()ThisDrawing.SetVariable "CMLSTYLE", UFrmAutoDrawCW.TxtBxMLineStyle.Value '
回复

使用道具 举报

34

主题

105

帖子

91

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
224
发表于 2022-7-6 18:27:59 | 显示全部楼层
Rocheey,
 
I have played about a lot tonight and have cleaned up the code a lot as you suggested. i only have the last form module to do and the problem is nearly solved.
 
i think i should be able to work it out now,
 
thank you very much for your time and help.
 
cheers,
 
col
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 15:46 , Processed in 1.375624 second(s), 54 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表