Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to solve this problem ?
Message
From
11/02/2002 10:23:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/02/2002 22:16:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00611418
Message ID:
00618328
Views:
15
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform