Form crs_014 {
X = 0;
Y = 0;
Width = 400;
Height = 300;
Label Label1 {
X = 77;
Y = 124;
Width = 260;
Height = 50;
FgColor = 17;
BgColor = $CCFFCC;
}
Button Button1 {
X = 100;
Y = 64;
Width = 162;
Height = 47;
Title = "結果をラベルに出力します";
Function OnTouch( e ) {
var answer = "こたえは" + str(68+100) + "です";
^.Label1.Value = answer;
}
}
}
|