Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vision Basic Language 1

Status
Not open for further replies.

JoeShmoe

Technical User
Jan 2, 2000
1
US
I bought software to create a web sight. There is an ActiveX option on the &quot;insert&quot; menu. I am trying to create a situation in which the text typed into one box, will automatically show up in another box at the same time. To make that happen, I have to highlight the text box, open the ActiveX window, and enter a unique &quot;ID&quot; for the control, enter a &quot;name&quot; for the control, and enter a &quot;value.&quot; There are also &quot;code source&quot; and &quot;date source&quot; boxes available. I have figured out that the &quot;ID&quot; can be anything like %1 for the first box and %2 for the second box. But I do not know what the &quot;name,&quot; &quot;value,&quot; &quot;code scource,&quot; and &quot;date scource&quot; are. Can you help me? My software instruction book says to use Visual Basic language.<br>
<br>
JoeShmoe
 
text boxes, along with a lot of other controls, have a Change event. This event gets called whenever the contents of the text box are changed.<br>
<br>
So - say you have two text boxes t1 and t2. T2 has to shadow t1.<br>
<br>
Put the following code in the Change event for t1:<br>
<br>
t2.text = t1.text<br>
<br>
-ml<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top