3 Replies Latest reply on Aug 31, 2006 7:41 PM by ntsiii

    Which textArea most recently had focus?

      I need to have something like a context sensitive help button on my app that works for text fields. When the user has the cursor in one of the text fields on my form and then clicks my help button, the code on the button needs to be able to determine which field most recently had focus. Clearly, I do not want to put focus event handlers on all my fields to make this work.

      Any ideas? Something elegant (but not fictional) like "Selection.mostRecent()" or "FocusObject.mostRecent()" would be great :) :) :)

      At this point I'm just thrashing in the help and online forums, and I'm desperately seeking clues to get me unstuck.