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. C#
  4. how to control working in combobox_TextChanged() event?

how to control working in combobox_TextChanged() event?

Scheduled Pinned Locked Moved C#
csharphelptutorialquestion
1 Posts 1 Posters 0 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.
  • S Offline
    S Offline
    shaz jazz
    wrote on last edited by
    #1

    i am using a combobox and a textbox control. text box behaviour depends upon selected value of combobox. These properties of combo box are assingned. AutoComplete = true; AutoCompleteMode = SuggestAppend; AutoCompleteSource = CustomSource AutoDropDown = true; Further more .net 2.0 is under usage with visual Studios 2005. in combobox_TextChanged() event i have assigned some value to textbox control. now i want that when user is typing over the combo box then as he types first letter the TextChanged() event is triggered and my textbox values changes accordingly. i want to control it some how so that when user ends typing only then my textbox values are changed. I tried to control it through combobox.selectionStart and combobox.selectionLength properties but thay always give 0 values. So how should achieve my goal?? Furthermore when user start typing over combobox and in case selection changes then no key event is trigered (i.e keyPress(), keyUp() or keyDown() events)but it selection doesn't changes only then keyUP() event is trigered. Moreover event of combobox_SelectionChangeCommitted()is also tested and it is not triggered when user types on combobox. Any suggestions?

    May God help u solv ur problems as well,thx in advance!!

    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