このWikiは古くなりました:
新しいWikiへ移動
RadioButton
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[命令リファレンス]]
----
//<H2>RadioButtonクラス</h2>
ラジオボタンを作成します
**例1
extends RadioButton; //必ずRadioButtonを親クラスにしてく...
a=new Array();
a.add("OFF");a.add("OFF");a.add("OFF");a.add("OFF");a.ad...
init(3,3);
while(1) {
if (create(300,120,0,0,3,$clBlack)==1) a.set(0,"ON");e...
if (create(300,140,0,1,3,$clRed)==1) a.set(1,"ON");els...
if (create(300,160,0,2,3,$clGreen)==1) a.set(2,"ON");e...
if (create(350,120,1,0,3,$clYellow)==1) a.set(3,"ON");...
if (create(350,140,1,1,3,$clPink)==1) a.set(4,"ON");el...
if (create(350,160,1,2,3,$clWhite)==1) a.set(5,"ON");e...
drawText(320,120,a.get(0),$clBlack,10);
drawText(320,140,a.get(1),$clBlack,10);
drawText(320,160,a.get(2),$clBlack,10);
drawText(370,120,a.get(3),$clBlack,10);
drawText(370,140,a.get(4),$clBlack,10);
drawText(370,160,a.get(5),$clBlack,10);
update();
}
*メソッド・変数一覧
#find
終了行:
[[命令リファレンス]]
----
//<H2>RadioButtonクラス</h2>
ラジオボタンを作成します
**例1
extends RadioButton; //必ずRadioButtonを親クラスにしてく...
a=new Array();
a.add("OFF");a.add("OFF");a.add("OFF");a.add("OFF");a.ad...
init(3,3);
while(1) {
if (create(300,120,0,0,3,$clBlack)==1) a.set(0,"ON");e...
if (create(300,140,0,1,3,$clRed)==1) a.set(1,"ON");els...
if (create(300,160,0,2,3,$clGreen)==1) a.set(2,"ON");e...
if (create(350,120,1,0,3,$clYellow)==1) a.set(3,"ON");...
if (create(350,140,1,1,3,$clPink)==1) a.set(4,"ON");el...
if (create(350,160,1,2,3,$clWhite)==1) a.set(5,"ON");e...
drawText(320,120,a.get(0),$clBlack,10);
drawText(320,140,a.get(1),$clBlack,10);
drawText(320,160,a.get(2),$clBlack,10);
drawText(370,120,a.get(3),$clBlack,10);
drawText(370,140,a.get(4),$clBlack,10);
drawText(370,160,a.get(5),$clBlack,10);
update();
}
*メソッド・変数一覧
#find
ページ名: