Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Pawan
(35)
Deepika Harida...
(32)
Nadheera V
(30)
Last 7 Days
Nikhil Gaur
(598)
Anil Kumar ...
(582)
Abhisek Panda
(456)
more...
Resources
»
Code Snippets
»
VB.NET Syntax
»
Handling Label Events in VB.NET
Posted Date: 31 Oct 2008
Resource Type:
Code Snippets
Category:
VB.NET Syntax
Author:
Roshan
Member Level:
Silver
Rating:
Points
: 3
Labels also have events like Click and DoubleClick.
Using these events can be a good thing if we are using a label control as more than just a label,For Eg,to reset a setting of somekind
Here's an example using a DoubleClick Event to change the text in the label when the user double clicks it.
Private Sub Label1_DoubleClick(ByVal sender As Object,_ByVal e As System.EventArgs) Handles Label1.DoubleClick
Label1.Text="Quit Clicking Me!"
End Sub
Responses
Author:
Bindu Bujji
01 Nov 2008
Member Level:
Gold
Points
: 1
Hi Roshan
Can you give an example when we go for Label control events in real time applicatons? I never used label control events in our applications.
Thanks
Bindu
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
Label Events
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Converting strings to numbers in VB.NET
Previous Resource:
Handling PictureBox Events in VB.NET
Return to Discussion Resource Index
Post New Resource
Category:
VB.NET Syntax
Post resources and
earn money
!
Related Resources
Handling Strings
VB.NET Code to get the month name by passing the month value as integer from 1 to 12
Getting the current User's Name in vb.net
To draw a Drow elipse in picture box
To draw a rectange in picture box
How to Draw a Curve in Picture Box
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use