Closing a hidden data table when closing a figureI have a few hidden data tables that I only show to the user via some plots.
As they are hidden, they accumulate in memory (as many times as the user calls the function in the toolbox).
Is there a way to embed the JSL action (closing the invisible table) when the user closes the figure created?
GraphicsScriptingRe: Closing a hidden data table when closing a figureYou can just use a On Close method like below,
dt = Open( "$SAMPLE_DATA/Big Class.jmp",private );
obj = dt << Bivariate( Y( :Weight ), X( :Height ) );
obj<<ON close=""></ON>