1 Reply Latest reply on Aug 4, 2008 11:20 AM by A. Cobb

    ScriptUI programming:  getting the active control?

    A. Cobb Level 3
      Is there any simple way to get the active control in a panel/palette? I know I can test all the controls individually, but it seems there should be a more elegant way to do it.

      If not, what is the best way to traverse the control tree? I can get at the children of a container, but I can't figure out how to test whether the child of a container is a container itself.