1 Reply Latest reply on Jan 24, 2008 7:38 PM by Dan McAdam

    How to get reference to a display object

    Dan McAdam
      I'm using a GridItem to hold a Text control... when a user clicks on the Text control I call a function and pass the event parameter.

      event.target gives me the full path to the item:
      index0.main.profiledisplay.profilestack.page1.grid1.gr1.gr1gi1._Text2.UITextField59

      I converted that into a string and used split to cut it at the underscore

      How do I convert the remaining string back to reference to the GridItem (gr1gi1 in this case)?

      thanks