Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Datacombo1 Highlighted serched item

Datacombo1 Highlighted serched item

Scheduled Pinned Locked Moved Visual Basic
helpquestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    khan2010
    wrote on last edited by
    #1

    Hello Experts i am working on a VB 6.0 Project i am using Datacombo1 and a Text box, what i want that when i am typing in text box datacombo1 must Highlighted matched items. How can i do that. Your Help will be appreciated. :(

    D 1 Reply Last reply
    0
    • K khan2010

      Hello Experts i am working on a VB 6.0 Project i am using Datacombo1 and a Text box, what i want that when i am typing in text box datacombo1 must Highlighted matched items. How can i do that. Your Help will be appreciated. :(

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      It looks like a DataCombo can have only one item selected at a time. I'm guessing you would have to handle the TextChanged event in the TextBox and search through the DataCombo's data, one item at a time, and find the first item in the list that matches what was typed. Then you take that index number and set the DataCombo's SelectedItem property with it. No, I don't have any examples, 'cause I haven't used VB6 in over 7 years.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups