i am developing a project in vb6.0 and i want to open a child form in mdi form with function keys and want to close child form with escape key.Plz reply me with source code
Bhagwanshay_1
0
Newbie Poster
Recommended Answers
Jump to PostPrivate Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 27 Then
Unload Me
End If
End Sub
All 4 Replies
mcdczzz
4
Newbie Poster
milan.oparnica.90
0
Newbie Poster
jehazel.gana
0
Newbie Poster
milan.oparnica.90
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.