Results 1 to 4 of 4

Thread: Highlighted Selected Text.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2008
    Posts
    26

    Question Highlighted Selected Text.

    Hi there,

    I am using VB6, SQL Server 2000, Crystal Reports 9 & farpoint 8.5 in my project, I have a memo field in my table and i want to design a form so that when a user enter any text to search, all selected text should appear as highlighted text, for example if a user enters 'sys' all rows that contains 'sys' should appear as selected text.

    If results appears in Crystal reports then its fine otherwise if there is any other option please let me know.

    Please help me
    Thanks
    Ladak

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Highlighted Selected Text.

    You could try a ListView or a FlexGrid to show the results and coloring the rows....

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2008
    Posts
    26

    Re: Highlighted Selected Text.

    I don't want full row in different color, I want specific words in different color.

    Thanks
    Ladak

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Highlighted Selected Text.

    In that case try a RichTextBox.

    There are examples of using it (including what you want to do) in the "Controls" section of our Classic VB FAQs (in the FAQ forum)

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