Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup message and continue executing code

Status
Not open for further replies.

FoxProProgrammer

Programmer
Apr 26, 2002
967
US
Is there a way to display a message on the screen without waiting for the user to press a button before continuing execution? I want to display "Record saved" in a small window after the user presses the Save button on a Form, but continue execution so they don't have to press Ok in a MsgBox. FoxPro has a feature that does this...It is WAIT WINDOW NOWAIT. I couldn't find an attribute of the MsgBox Function that doesn't require the user to press a button to close the message box and continue the program.

Thanks!

dz
 
Thanks, I can create a form to do this, but Microsoft should add an attribute to MsgBox that mimics this action.

preaching to the choir, I'm sure!

Have a nice day...

dz
 
Have a look at the SysCmd method.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks...

SysCmd acSysCmdSetStatus, "Job Saved."

Access displays the message in the status bar. Is there a way to remove the message when the user moves the mouse? I put SysCmd acSysCmdSetStatus, "" in the Mouse Move event, but the event doesn't trigger.



dz
 
The mouse event does seem somewhat erratic - when I tried that, it sometimes doesn't work at first.

What about setting the form's TimerInterval when you set the Status to a few seconds, and when the Timer fires, clear the Status? Don't forget to reset the TimerInterval at that point too.

HTH

Max Hugen
Australia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top