API version 1
- ‐
RW
string
tag¶
タグを示します。
このプロパティはスプレッドシートの動作には影響がありません。任意の目的で利用できます。 類似の機能に SpreadColumn.tag 、SpreadRow.tag プロパティがあります。これらは行や列にタグを設定できます。
初期値は空白文字列です。
関連項目
SpreadColumn.tag 、SpreadRow.tag プロパティ
使用例
CRSダウンロード
Form SpreadCell_tag {
x = 0;
y = 0;
width = 800;
height = 600;
Spread spread1 {
x = 8;
y = 8;
width = 640;
height = 440;
maxColumns = 20;
maxRows = 20;
#A1セルにtagを設定します
cell("A1").tag = "Sample Tag";
}
Button button1 {
x = 664;
y = 32;
width = 112;
height = 32;
title = "実行";
function onTouch(e) {
#アクティブセルのtagを取得します
print("アクティブセルのtag:",^.spread1.activeCell.tag);
}
}
}