Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox font size
Message
 
To
11/12/1997 13:52:58
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065352
Message ID:
00065369
Views:
30
>Is there any way to increase the font size of message text in a messagebox?

AFAIK, this is controlled by the Appearance tab in the Display ControlPanel.
The best way around it is probably to write your own modal form that mimics the
behavior of the messagebox.
#include \vfp\foxpro.h

nOptions = MB_ICONQUESTION + MB_YESNOCANCEL + MBDEFBUTTON1
cMessage = "Save this record?"
cCaption = "MyApp"
lnRetVal = IDNO

DO myMsgBox WITH cMessage, nOptions, cCaption TO lnRetVal

IF lnRetVal = IDYES
   * something or other
ENDif
and in the form, have a very large label with WordWrap = .T., and an OleControl
to show the icon, and all 7 or so buttons defaulting to Visible = .F. until
the Form.Init finds out which ones you want and sets focus as appropriate...
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform