cancelElement

種類プロパティ
書式 ウィンドウオブジェクト.cancelElement
解説
ダイアログウィンドウでのデフォルトのcancelボタンのオブジェクトを返します。
サンプルコード
winObj = new Window("dialog","Sample",[200,150,500,300]);
winObj.add("button",[10,50,90,70],"OK");
winObj.add("button",[10,80,90,100],"Cancel");
winObj.show();
alert(winObj.cancelElement);
実際のスクリプトをダウンロード