|
-
Sep 4th, 2002, 10:13 AM
#1
Thread Starter
Addicted Member
how to keep contents of text1 array in sync
I've got a form with an array of text1's. There are three elements in the array.
I want it so that if you type into any one of them, they all get updated with the same text.
I've tried this with a loop inside of the "Text1_Change" event but I get a stack overflow for obvious reasons.
'keep the contents of all textboxes the same:
Private Sub Text1_Change(Index As Integer)
Dim i As Integer
Dim Text1 as string
Text1= Text1(Index)
For i = 0 To Text1.ubound
Text1(i).Text = Text1_Test
Next i
End Sub
(Can't use keydown/keypress events since contents may get changed thru the program also)
Any ideas??
Last edited by joblake; Sep 4th, 2002 at 10:17 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|