Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共5 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:Textbox

1楼
fangshen 发表于:2025/2/21 11:07:00
各位大侠:我现在想实现

在窗口A中,有Textbox1和Textbox2,button1
Textbox2=0时,点击button1后,把Textbox1的值复制到Textbox2,
   Textbox2不是0时,按钮无效

   谢谢
2楼
y2287958 发表于:2025/2/21 11:11:00
If e.Form.Controls("TextBox2").Value = "0" Then
    e.Form.Controls("TextBox2").Value = e.Form.Controls("TextBox1").Value
End If 
3楼
fangshen 发表于:2025/2/25 9:13:00
谢谢
解决了
4楼
fangshen 发表于:2025/4/1 16:07:00

在窗口A中,有Textbox1Textbox2button1,CheckBox1

CheckBox1没有审批,点击button1后,把Textbox1的值复制到Textbox2

   CheckBox1已经审批,按钮无效

请问,下面的代码如何修改?谢谢

 

If e.Form.Controls("TextBox2").Value = "0" Then

    e.Form.Controls("TextBox2").Value = e.Form.Controls("TextBox1").Value

End If 

5楼
有点蓝 发表于:2025/4/1 16:22:00
http://www.foxtable.com/webhelp/topics/0777.htm

If e.Form.Controls("
CheckBox1").Checked Then

    e.Form.Controls("TextBox2").Value = e.Form.Controls("TextBox1").Value

End If 

[此贴子已经被作者于2025/4/1 16:22:41编辑过]
共5 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03320 s, 2 queries.