pop up messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to create a message box without a button on it? I want a
message to pop up on a mouse-over, but I want it to go away automatically,
without the user having to respond to the MsgBox with yet another stupid
mouse-click.
 
hi,
create a form with a lable on it displaying the message.
in the forms on time event and load event enter the
following:

Private Sub Form_Load()
Me.TimerInterval = 1000 'change this to
'increase/decrease time
End Sub

Private Sub Form_Timer()
DoCmd.Close acForm, "frmpopup", acSaveYes
End Sub

in the other object's mouse over event enter the following:

Private Sub lblSpecial_MouseMove(Button As Integer, Shift
As Integer, X As Single, Y As Single)
Dim RBut As Integer, LBut As Integer
RBut = acRightButton
LBut = acLeftButton
If RBut >= 0 Or LBut >= 0 Then
DoCmd.OpenForm "frmpopup"
End If
End Sub

regards
Frank
 
Thanks a lot, I figured it was something like that, but the devil is in the
details which you so kindly supplied. For my purpose the tima can be zero,
because it is just for instructions on how to fill in the field. It can and
should go away immediately, but I wanted something more obvious than the
tooltips. Funny there isn't a MsgBox option to cover this.......On the other
hand, what would we do for work if this really improved our productivity.
 
hi,
technically a message box is a form. the naming of it is
for humans to understand. You said that you wanted it to
popup then go away by itself so i assumed you wanted it
to stay up long enought for someone to read the message.
with time set to zero, the form will only flash on the
screen. not enough time to read anything.
regards
Frank
 
Back
Top