Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying MESSAGEBOX commandbuttons
Message
 
À
13/11/1998 10:44:09
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00157405
Message ID:
00157419
Vues:
14
>Is there a way to modify the caption of messagebox() command buttons?
>
>For example, suppose I wanted the command buttons of a "Yes, No, Cancel" to read "Up, Down, Sideways" ... ?
>
>Ssince all messagebox does is return 6=Yes, 7=No, or 2=Cancel, it would be a no brainer to interpret return codes and do whatever. With all the flexibility available, but it seems "peculiar" that there isn't a backdoor for get at properties of those controls.
>
>Is my only option to create my own class?

Or form. The messagebox function that VFP uses is part of the Windows API. VFP simply hooks into it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform