タイトル : Re: "←"、"→"、"Esc"を判定したい 投稿日 : 2008/03/19(Wed) 13:04 投稿者 : ささきち
Const vbKeyRight = 39 (&H27) VBRUN.KeyCodeConstants のメンバ 右矢印キー。 Const vbKeyLeft = 37 (&H25) VBRUN.KeyCodeConstants のメンバ 左矢印キー。 Const vbKeyEscape = 27 (&H1B) VBRUN.KeyCodeConstants のメンバ Esc キー。 を使い、 それぞれKeyPressイベント、KeyDownイベントで対応するとかでいかがでしょ? |