If Label99.Visible = False Then Label99.Visible = True
This is the criteria I am using to make a label visible on mousemove event over the Command button named 97.
Maybe I am going about this in the wrong way so here is what I am trying to do.
I have a command button named Command97 that opens a popup form setting the date and this works fine but the user needs to be able to have a better explanation since the button does not get focus or have a tab order.I also have a label named as above which upon the mousemove event makes the label appear and provides an explanation of the command button.I want the label to be otherwise invisible which is it's default.How can I do this or what do you suggest otherwise?
Private Sub MyButton_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label1.Visible = True
Private Sub Detail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label1.Visible = False
MyButton is the button that triggers the label to be visible.
Detail is the detail area of the form where the button is located.