您好,我需要知道列錶框的返回類型是什麼。
從腳本索引:
Names Default To Here( 1 );
New Window( "Example",
fontobj = lb = List Box(
{"First Item", "Second Item", "Third Item"},
width( 200 ),
max selected( 2 ),
nlines( 6 )
)
);
lb << Set Selected( 2 );
Print( lb << Get Selected );被退回:
{"Second Item"}這個返回的是什麼對像類型? 列表,數組?如何按索引訪問項目? 我應該如何處理裡面的內容? 如果使用 Ctrl 選擇了兩個以上的項目,此列表或數組中是否返回了多個項目?
<< Get Selected 和 << Get Selected Indexes 有什麼區別? 在我看到的大多數代碼片段中,使用 Get Selected Indices 是很常見的,如果您的最終目標是檢索內容,我不明白為什麼只檢索索引。
此外,在使用 Application Builder 時,如何查看我的調試打印結果? 他們會進入常規日誌窗口嗎?
謝謝