Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position Of Message Box
Message
De
16/03/2003 08:36:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00766286
Message ID:
00766299
Vues:
27
>Hi
>
>There are many tools for tweaking the messagebox. Does anyone know of one which changes the position of the mb on the screen?
>
>Colin

I think you can't do this with the built-in MessageBox. However, you can create a UDF or class instead, and use a form to show the MessageBox.

With a UDF, you would have a have a syntax similar to MessageBox() (replacing MessageBox() with something like MyMessageBox()).

With a class, the syntax for calling it would include CreateObject(). Either like this:
CreateObject("MyMessageBox", (additional parameters))
Or:
MyMBObject = CreateObject("MyMessageBox")
MyMBObject.cCaption = ...
MyMBObject.Buttons = ...
...
MyMBObject.Show()
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform