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 detect changes to text property of multiple controls bound using CurrencyManger

how to detect changes to text property of multiple controls bound using CurrencyManger

Scheduled Pinned Locked Moved C#
questioncomtutorialannouncement
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.
  • T Offline
    T Offline
    therealmccoy
    wrote on last edited by
    #1

    I have a GUI with multiple TextBox and ComboBox controls. These controls are bound to a datasource and are update via the CurrencyManager. How can I detect when a user has started to modify the text in one of the controls? If I advance to the next record I can check the status of the CurrencyManger and determine is the previous row has changed. I want to be able to detect that the row is changing before the user has advanced (or retreated) rows. Currently I am thinking that I will need to enable the TextChanged event for each control (controls are created dynamically) and use that to determine if an edit has happend and then disable the event when the user advanced to the next row, and then reenable after the controls have populated with data. Is that a good way? Thanks. www.lovethosetrains.com

    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