1 Reply Latest reply on Feb 15, 2008 6:44 AM by Gregory Lafrance

    How to know the Control type using event Param

    Pratap Reddy Level 1
      I wrote a function on MOUSE OVER EVENT. I called this function from a LIST and DATAGRID using addEventListener.
      Now the problem is how the function get to know that i can event from LIST box or Datagrid. I can create two different function for both LIST and DATAGRID. But requirement is like cannot reapeat the code.. code minimization.

      Is there any property to know the type of control(Like its LIST or DATAGRID) using event parameter??

      Thanks & Regards