嗨,
我這裡有代碼生成一個包含兩個數據表的窗口。我想要一種有效的方法來保存包含兩個數據表的窗口。保存它的默認擴展名是JRP;但是,這不會保存窗口。窗口可以保存為JRN,但是無論如何都要按照它看起來的方式保存這個窗口?
謝謝
Names Default To Here( 1 );
dt1 = Open( "$SAMPLE_DATA\Big Class.jmp", private );
dt2 = Open( "$SAMPLE_DATA\Bands Data.jmp", private );
// Create a function to create each data table to reduce code redundancy
getDataTableOutlineBox = Function( {dt},
Eval(
Eval Expr(
Outline Box( dt << Get Name, // title of the tab
dt << New Data Box(), //DataBrowserBox
)
)
)
);
New Window( "Both Tables",
Suppress AutoHide( 1 ),
<<ONCLOSE></ONCLOSE>
您始終可以將對象放置在Border Box()之類的內容中,然後將整個對象轉換為圖片(<< get Picture)並保存圖片。