Results 1 to 2 of 2

Thread: check boxes and text boxes

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    Virginia Beach
    Posts
    66

    Question

    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?

  2. #2
    Addicted Member jcouture100's Avatar
    Join Date
    Aug 1999
    Posts
    141
    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.
    JC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width