1 Reply Latest reply on Aug 15, 2010 10:05 PM by MikisMM

    How to access the active Canvas within a ViewStack?

    eagleswims

      Our inherited code includes drill down from a main report to dynamically created Canvas objects, all of which may contain relational data.  The mxml code creates a ViewStack, and each time a linked column is activated, a new Canvas object is created and added to the ViewStack.  A "write to Excel" file option needs to use the "active" Canvas to get the appropriate set of data for the spreadsheet.  Will the ViewStack's "selectedChild" data member "point" to the active Canvas in all cases?

       

      Thanks,

      Roger