How to show status on a form.

  • Thread starter Thread starter albert.repasky
  • Start date Start date
A

albert.repasky

I would like to show the status when a process is running on the
form. I do that now in the Access status bar, but that can be turned
off and I would like to have it more evident so people see it. It
would be nice if it blinked also.

Does anyone know how to do this?

Thanks,
Arep
 
Put a label (I'll call it StatusLabel) on the form and set it's Visible
property to false. When you start your process, set StatuLabel.Caption =
"Something is happening" (or whatever you want your status message to be) and
set StatusLabel.Visible = True. To make it blink, look at the help for the
Form's TimerInterval property and OnTimer event. You could alternate
between visible = true and false on each OnTimer event, or between two
colors, or something similar. However, I'm not sure if you'll get OnTimer
events while other code is processing. I haven't used the Timer features
myself.

Jay
 
Put a label (I'll call it StatusLabel) on the form and set it's Visible
property to false.  When you start your process, set StatuLabel.Caption=
"Something is happening" (or whatever you want your status message to be)and
set StatusLabel.Visible = True.  To make it blink, look at the help for the
Form's TimerInterval property and OnTimer event.   You could alternate
between visible = true and false on each OnTimer event, or between two
colors, or something similar.  However, I'm not sure if you'll get OnTimer
events while other code is processing.  I haven't used the Timer features
myself.

Jay







- Show quoted text -
Jay,

I have already tried that, so I tried that and it still did not work.
I thought that would work. So I have the status in the status bar on
the bottom of the page, so I will have to go with that. It is not
that important.

Arep
 
Back
Top