使用 On Close() 参数关闭自定义窗口可能会导致 JMP® 崩溃在 JMP 中,使用<关闭自定义窗口参数可能会导致 JMP 崩溃。此问题出现在 Windows 操作系统上。
示例-以下代码可能会导致崩溃:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
win = New Window( "Test",
<<ON close=""></ON>
<P> </P>
<P>要解决该问题,请使用<STRONG>Schedule()</STRONG>函数来安排数据表关闭。</P>
<P>示例 - 使用此代码代替上面的代码:</P>
<DIV style="font-family: courier; margin: 15px; padding: 5px 10px;">
<P> </P>
<PRE><CODE class=" language-jsl">Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
cleanup = Function( {},
Eval( Expr( sch << Close() ) );
Close( dt, No Save );
);
win = New Window( "Test",
<<ON close=""></ON>
<P><BR /> <BR /> </P>
<P> </P>
<P> </P>
<P>[先前的 JMP 说明 63410]</P>