|
-
June 26th, 2001, 10:54 AM
#1
search in richtextbox
when the user clicks a button, how do you make it so that for every "t" in the textbox, it adds an item to a listbox??
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
-
June 26th, 2001, 10:57 AM
#2
Re: search in richtextbox
Dim sRemaining as string
sRemaining = Text1.Text
While Instr(sRemaining,"t") > 0
sRemaining = mid$(sRemaining,Instr(sRemaining,"t") +1)
Listbox1.addItem "Letter T found again"
Wend
HTH,
D
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
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
|