|
#1
|
|||
|
|||
|
how to create yes or no message
how to create yes or no message. what i mean that i want if i press yes i jump to the page and if i press no nothing happen .so please help me to do this
this is my project attached (pretty simple example) |
|
#2
|
|||
|
|||
|
Quote:
ishappy = Dialog.Message("Prying Question #023", "Are you happy?", MB_YESNO, MB_ICONQUESTION, MB_DEFBUTTON1); if ishappy == IDYES then ---DO else ---DO end |
|
#3
|
|||
|
|||
|
Other people help me alot on this forum, therefore I am giving a little help to you as well.
Try this. Put this code to your "On Click" of the "Go to Page 2" button. -- Ask the user going to Page 2 nChoice = Dialog.Message("Notice", "Are you sure you want to go to page 2.", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1); -- If yes was chosen, goto page 2. if nChoice == 6 then Page.Jump("Page2"); else Dialog.Message("Good Choice", "You're staying here.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end |
|
#4
|
|||
|
|||
|
I just gave him the code why post the same code with a little change ? people have to do some work there selfs.
|
|
#5
|
|||
|
|||
|
thank u very much
i agree with u that all the users in this forum is very kind and very helpful like u.
u gave me 2 fantastic and easy solutions so i appreciate your help and wish u good luck .
|
|
#6
|
|||
|
|||
|
good luck to yourself on your project.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 09:36 AM.









.
Linear Mode
