投稿日 | : 2004/01/28(Wed) 22:44 |
投稿者 | : 花ちゃん |
Eメール | : |
URL | : |
タイトル | : Re: テキストボックスのイベント |
どのような目的かは知りませんが?
Enterキーが押された時にMsgBoxを表示するのでいいのなら下記で表示します。
又はMsgBoxの変わりにForm等に表示するとか。
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
MsgBox Text1.Text
End If
End Sub