Warning Message

vertue

Registered User.
Local time
Today, 10:26
Joined
Aug 23, 2003
Messages
12
I have set a warning message to come up when an entry is about to be deleted. At the moment the message box does not come up dead center of the form, but more to the right. Do I have to set the X Y coordinates for the message box or is there and easier way?

Trev
 
Are you creating this msgbox via Macro or VBA? Try setting it to MsgBox "You Text Here", vbApplicationModal and this wi;; force them to click it befor they can proceed. It shouold also appear in the center.
 
jeremie_ingram

I did it in straight forward code.

If MsgBox("Are you sure you want to exit?", vbExclamation +vbYesNo ) = vbYes Then
DoCmd.Close
 
This is appearing off center? Even after closeing the db, saving everything, and reopening it?
 
jeremie_ingram

Thanks for the reply but I was mistaken. I have the form opening in min mode. It was the form that was not opening centered and not the message. I can center the form with no problem.

Geeze I am dim.

Trev
 

Users who are viewing this thread

Back
Top Bottom