ASK without text input

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

ASK without text input

Post by ukimiku » Sun Nov 08, 2009 10:43 pm

Hi,

when I ask the user whether s/he wants to confirm or cancel some operation, I use the ASK "Do you really want this?" contruct, as it shows an "OK" and a "Cancel" button by default. But is there a way to ask the user without the text input field that appears with the ASK? I really would like only "OK" and "Cancel" underneath the question/warning, nothing else. Or, if possible, have one or more buttons with more options added.

Is there an easy way to do this in Runtime?

Thanks,

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Post by sturgis » Sun Nov 08, 2009 10:52 pm

Yep, should be easy enough, look for "answer" in your rev dictionary, should do what you want.

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Post by ukimiku » Sun Nov 08, 2009 11:10 pm

Thanks, easy and flexible. I had thought ANSWER was much more single-minded... :)

Post Reply