[サンプルコード]
Button Button1{
X = 10;
Y = 10;
Width = 200;
Height = 30;
AltKey = $F02;
Title = "実行 (&G)";
Function OnTouch( e ) {
Execute();
}
Function Execute(){
処理
}
}
Function OnKeyDown( e ) {
if ((e.Key == "G") && (e.AltKey)) {
Button1.Execute();
}
}
|