Disable arrow keys or other solutions?

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
Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

Disable arrow keys or other solutions?

Post by Josh » Fri Sep 26, 2008 8:39 pm

Hi all,

I'm running a Revolution program and hit a problem. Instead of clicking the "continue" buttons to advance to the next screen, users are able to press the arrow keys to advance back and forth in the program across the cards. I have code triggered by the "continue" button mouseUp events, so use of the arrow keys causes massive problems. Is there a way to disable arrow keys for the duration of the program? If so, how do I do that?

Is there a better solution and if so, could someone spell it out for me. I can't close windows because users occasionally may be directed back to a previous screen.

On a related note, my program is also shut down by the automatic "firing" of norton symantec's scheduled scan task. Is there a way to stop that without administration purposes?

The first issue is much more important and needed.

Any help is greatly appreciated.

Josh

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Sep 26, 2008 8:49 pm

Hi Josh,

If you search the built-in docs for "arrow" you get 6 or 7 entries. One of them is "navigationArrows", which should solve your problem.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Josh
Posts: 46
Joined: Sat Jan 12, 2008 6:42 am

It worked

Post by Josh » Tue Sep 30, 2008 7:34 pm

Thanks Mark,

You're always so helpful!

Josh

Post Reply