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 Post— debasisdas 580you need to call label_click event in the Key press event.
Jump to Post— Member #857553I 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 Post— Pgmer 50What error ur getting?
Jump to Post— Pgmer 50The above code by Unhnd_Exception works fine...
All 13 Replies
debasisdas 580 Posting Genius Featured Poster
aadi_capri 0 Light Poster
Member #857553
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.