Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox font size
Message
De
11/12/1997 15:01:35
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:
00065375
Vues:
31
Garrett,

Thanks, I like that suggestion. Especially since my message box's are only for informational purposes, no choices need to be made such as yes/no/cancel.

Mandy

>>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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform