AutoClick with answer button

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alessandropisoni
Posts: 12
Joined: Fri Jul 07, 2006 2:14 pm
Contact:

AutoClick with answer button

Post by alessandropisoni » Wed Oct 03, 2007 3:30 pm

My problem is:
I have one answer box with one button "Ok" . I want that this answer show for 3 seconds and after this time hide without click the button "ok".
This is possible?
Thanks

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Wed Oct 03, 2007 3:48 pm

This can be done with the built-in answer dialog, but it would be a bit tricky, requiring that you trap the preOpenStack message and check that the stack opening is the answer dialog, perhaps also checking a global to trigger this behavior while not triggering it other times. In short, a lot of work.

Probably much simple to make this dialog custom, and just use the modal command to display it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply