Ask dialog when program opens
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Ask dialog when program opens
I'm trying to figure out how to launch an Ask dialog on program start. I don't want the user to have to click on a button to get the dialog. I want the Ask dialog to appear immediately when the program starts so the user can immediately input into the Ask dialog. Can it be done in Revolution? I've been searching in the forums and elsewhere with no luck. Perhaps I just don't know the right words to use in my searches. If someone knows where I can study some code to make this happen, sure would appreciate it. Thanks in advance.
urbaud
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Put this in your stack script:
HTH,
Jan Schenkel.
Code: Select all
on openStack
ask "How many cookies do you want?"
answer "You want" && it && "cookies!"
end openStack
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Hi Bernd,
looks like you have to fill your Rev cookie-account first!
For our convenience Rev has put up a webiste to do it online:
http://www.runrev.com/user-accounts/cookies

looks like you have to fill your Rev cookie-account first!
For our convenience Rev has put up a webiste to do it online:
http://www.runrev.com/user-accounts/cookies



Ask dialog when program opens
Hi Jan,
Thank you for the code. It works fine. I didn't think it would be such a small amount of code.
Thanks again,
Dan
Thank you for the code. It works fine. I didn't think it would be such a small amount of code.
Thanks again,
Dan
urbaud