在數字欄編輯框中啟用日曆圖標?我正在創建一個帶有數字列編輯框的錶框,該框將顯示日期。但是,即使我正確設置了格式,日曆圖標也不會顯示。這是一個例子:
nw = new window("Test Calendar",
neb = number edit box(),
tb = table box(
string col box("String", {"One", "Two"}),
date_nceb = number col edit box("Dates", {., .})
)
);
neb << Set Format( Format( "ddMonyyyy", 12 ) );
date_nceb << Set Format( Format( "ddMonyyyy", 12 ) );

如您所見,對於數字編輯框,日曆圖標正確顯示。不過,“日期”列沒有任何內容。
腳本編寫回复:在“數字欄”編輯框中啟用日曆圖標嗎?我最終像您建議的那樣使用了彩色框。開銷更大,但是行得通。
回复:在數字列編輯框中啟用日曆圖標?與上述有關的新問題。我正在創建一個包含組合框的col框,需要遍歷它們以獲取每個組合框的選定值。但是,似乎沒有一種方法可以做到這一點。
nw = new window("Test Colboxes",
tb = table box(
string col box("String", {"One", "Two"}),
date_nceb = number col edit box("Dates", {1, 2}),
cb = col box("Combo boxes"),
),
button box("OK",
cb_list = cb << get;
print(cb_list, nitems(cb_list));
)
);
cb << append(combo box({"ABC", "DEF"}));
cb << append(combo box({"GHI", "FUBAR"}));

單擊“確定”在日誌中顯示:
{"", ""}
2
我想獲取組合框列表。