hello every1,
i am new to vb.net and was wondering how can i trigger a label_click event on the press of a key.
thanx in advance!
aadi_capri
0
Light Poster
Recommended Answers
Jump to Postyou need to call label_click event in the Key press event.
Jump to PostI did exactly what debasisdas posted and it does exactly what you want.
You do need to set your form's KeyPreview property to true. On the designer click on your form and in the properties window find KeyPreview and set it to true. Or in the load event you …
Jump to PostWhat error ur getting?
Jump to PostThe above code by Unhnd_Exception works fine...
All 13 Replies
debasisdas
580
Posting Genius
Featured Poster
aadi_capri
0
Light Poster
Unhnd_Exception
aadi_capri
0
Light Poster
aadi_capri
0
Light Poster
Pgmer
50
Master Poster
Featured Poster
aadi_capri
0
Light Poster
Pgmer
50
Master Poster
Featured Poster
Pgmer
50
Master Poster
Featured Poster
aadi_capri
0
Light Poster
aadi_capri
0
Light Poster
Pgmer
50
Master Poster
Featured Poster
aadi_capri
0
Light 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.