Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to solve this problem ?
Message
De
11/02/2002 10:23:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/02/2002 22:16:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00611418
Message ID:
00618328
Vues:
16
>Hi,Hilmar
> When users click the messagebox() three times, the other messagebox is appeared.So I don't know how to count the first 3 messagebox that had been clicked .
>
>For example,
>Before clicking the third messagebox,
>
>y = Messagebox("Sorry",16,"Message")
>
>After clicking the third messagebox,
>
>b = Messagebox("Bye",16,"Message")
>
>Please tell me!! Thank you.

Linda:

After the user presses a button, or after clicking anywhere on MessageBox?

I don't know if I understood correctly. If you need several messageboxes, you can have different variables to control each - or even an array, in theory, if there are several related choices.
Answer1 = MessageBox("Message1")
Answer2 = MessageBox("Message2")
Answer3 = MessageBox("Message3")

do case
case Answer1 = 6
  * User pressed "Yes" for first MessageBox
case ...

endcase
Or do you need something else?

Greetings, Hilmar.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform