How to dynamically get the control events?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rodrigo Defavari

    How to dynamically get the control events?

    Hello People !

    I need to direction all control events of a form to the function that
    will be responsible for treating them, but I won't this function be added to
    the handler of each control event.

    Im trying to save and recovery the events from the database, to
    manipulate it dynamically!


    Thanks in advance !!!


    Rodrigo Defavari

  • Cor Ligthert[MVP]

    #2
    Re: How to dynamically get the control events?

    Rodrigo,


    As only possibility I see to add in every event a row that calls your wanted
    method.

    If you found a better one, will you than send it to us.

    It would in my idea be standard as it was so easy. The events are handling
    messages which are catched by all controls seperatly while the signature is
    for most types of events and/or controls different.

    Cor

    Comment

    Working...