on 2008 Mar 24 8:56 AM
hello to everyone..
i made a MessageBox("Do you want to continue?", 2, "ok, "cancel")...when i click the "cancel " button ,and how i can close this messagebox.???
thank for ur answer. but i mean if i click the "cancel" button, that like the windows form 's "cancel" button. the messagebox can close .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peng,
I don´t understand so well what you mean, but it seems you need sometinhg like this:
Dim res As Integer
res = oApplication.MessageBox("Do you want to continue?", 1, "OK", "Cancel")
if res= 1 then
... add your code here for action OK...
else
... add your code here for action Cancel...
end if
I hope help you!!
User | Count |
---|---|
94 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.