Link to home
Start Free TrialLog in
Avatar of Derek Brown
Derek BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Titles for messagebox buttons

I want to name the buttons on a standard messagebox form. The form that appears when you code, Msgbox "Do you want an icecream?". vbYes/No

Can this be done or do I have to create a form manually
ASKER CERTIFIED SOLUTION
Avatar of IrogSinta
IrogSinta
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I usually just create my own unique form for most situations.  

If you want one that is flexible enough that it will resize itself and give you the option of one or more buttons, with personalized captions, it involves a lot of coding.

I've not looked at either of the references that Ron mentions above.
It's all here at EE:
Modern/Metro style message box and input box for Microsoft Access 2013

Browse to the paragraph: Localized captions

The download contains all the details, like:
' First and last Enum ButtonCaption.
Private Const FirstCaptionId    As Long = 800
Private Const LastCaptionId     As Long = 810

Open in new window

/gustav
Pretty snazzy, Gustav.  I wish you could make it work with older versions of Access.  I'd be all over this at work.  :-)

Ron
Thanks Ron.

It seems to run under Win 7 / Access 2010, but the upper corners are rounded.

/gustav
Avatar of Derek Brown

ASKER

Disappointing news but obviously correct.

My thanks

Derek