dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Mar 5, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Use MouseMove for Easy StatusBar Updates

You can easily make your program show descriptive text on a StatusBar control in response to mouse movement. Assign the text to the appropriate panel in the MouseMove events of the appropriate controls, then use the Form_MouseMove event to clear text from the panel:

 
Private Sub txtAddress_MouseMove(Button As Integer, Shift _
	As Integer, X As Single, Y As Single)
	StatusBar1.Panels(1).Text = "Enter Address here."
End Sub

Private Sub txtName_MouseMove(Button As Integer, Shift _
	As Integer, X As Single, Y As Single)
	StatusBar1.Panels(1).Text = "Enter Name here."
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift _
	As Integer, X As Single, Y As Single)
	StatusBar1.Panels(1).Text = ""
End Sub
Ron Schwarz
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date