|
-
Apr 27th, 2000, 12:39 AM
#1
Thread Starter
Lively Member
Is there any way to use a checkbox in a rich text box. Or another way to do what I need which is....
when someone double clicks on a url (not hyperlink) in my textbox, through an SQL statement if finds the matching url in my database and displays the article that matches that url? This was easy using a listbox, but I don't know how to specify the text in a text box that was double clicked. I hope this makes sense, if not I will try to clarify.
Thanks,
Cady
I was wondering about the check box cuz then I could match the url beside the checkbox, maybe?
-
Apr 27th, 2000, 09:44 AM
#2
Addicted Member
How about if they select the text and then click on a "Get Article" button or something like that. If they selected the text you could use the .SelText property as search text.
Just a thought.
Also there was a Hyperlink example on VB-World that put Hyperlinks in a RichTextBox. If you look at that example, perhaps you could modify the code to supply info to your query instead of hyperlinking out to the internet.
The project url follows:
http://www.vb-world.net/tips/tip149.html
Hope this helps.
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
|