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 SubPrivate Sub txtName_MouseMove(Button As Integer, Shift _	As Integer, X As Single, Y As Single)	StatusBar1.Panels(1).Text = "Enter Name here."End SubPrivate Sub Form_MouseMove(Button As Integer, Shift _	As Integer, X As Single, Y As Single)	StatusBar1.Panels(1).Text = ""End Sub
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: