[サンプルコード]
・TextBoxオブジェクトの例
Form Form1 {
X = 0;
Y = 0;
Width = 400;
Height = 300;
TextBox TextBox1 {
X = 10;
Y = 10;
Width = 130;
Height = 20;
}
Button Button1 {
X = 145;
Y = 10;
Width = 100;
Height = 20;
Title = "ボタン(&S)";
Function OnTouch( e ) {
MessageBox(Form1.TextBox1.Value);
}
}
Function OnKeyDown( e ) {
if ( e.AltKey == 1 && e.Key == "S"){
//.DecideValue();
Form1.Button1.OnTouch( e );
}
}
}
|