Yes/No dialog on iOS?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dburdan
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Yes/No dialog on iOS?

Post by dburdan » Sun Feb 20, 2011 9:29 am

How can I do a simple Yes/No dialog on iOS? I just want to ask the user a question and get "Yes" or "No" back without having to create my own dialog.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Yes/No dialog on iOS?

Post by BvG » Sun Feb 20, 2011 12:20 pm

Code: Select all

on mouseUp
   answer "a question" with "yes" or "no"
   if it is yes then
      beep
   end if
end mouseUp
read the dictionary entry about answer
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

dburdan
Posts: 104
Joined: Fri Jan 28, 2011 5:39 am

Re: Yes/No dialog on iOS?

Post by dburdan » Sun Feb 20, 2011 10:44 pm

Thanks!I was looking at ask instead of answer.

Post Reply