20673.html
来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 22 行
HTML
22 行
<html> <head> <title>请教位各高手有关TextBox之问题..................</title> </head> <body bgcolor="#FFFFFF" vlink="#808080"> <center> <h1>请教位各高手有关TextBox之问题..................</h1> </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by <a href="mailto:g2116160@kimo.com.tw">MAXMAN</a> on October 27, 1999 at 08:05:34:<p>(1)如何在Form1之TextBox输入一字串,可以显示出所相对的一个Image1的图片<br>(2)且可让Form2作互相连结得到相同的Image1的图片<br>Private Sub Text1_KeyPress(KeyAscii As Integer)<br>If Text1.Text = "R1" Then<br> If KeyAscii = 13 Then<br> Image1.Visible = True<br> End If<br>End If<br>End Sub<br>中间之程式是(1)的部分,小弟所研究的,可是结果不能执行!!!!!<br>题目是希望Text1输入”R1”可出现Image1的图片!!!!<br>(2)的部分是Form2能够出现Form1所得到结果!!!!!<br>希望各位VB高手能够为初学者的小弟---我,,做答,谢谢!!!!!<br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 20673--></ul><!--end: 20673--><br><hr size=7 width=75%><p></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?