Full Version: Customizing Message box
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
JVanKirk
How can I go about customizing my message box so instead of Yes and No buttons I have Delete and Change buttons??

I have this now:
CODE
If MsgBox(strMsg, vbQuestion + vbYesNo, "Scheduling Conflict") = vbYes Then


I guess I could modify my message, but I woud like to have the user click either delete or change...

Thanks in advance, even if the answer is..YOU CAN'T sad.gif

J
Alan_G
Hi Jason

AFAIK, you can't do it directly and will need to create a custom form to emulate a message box.

I recall seeing somewhere though that there's a class you can use to change message boxes, but I think it was A2007 only. I'll have a hunt around and see if I can find it.........
Alan_G
Yep, here it is from the code archives

Enhanced message box
JVanKirk
Well, someday when the state gets up to speed that will be great LOL...good thing I already started on the popup form to replace the message box!!

Thank you Alan.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.