Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox font size
Message
 
À
11/12/1997 13:52:58
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065352
Message ID:
00065369
Vues:
33
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform