Space Bar [Solved]

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

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Space Bar

Post by dunbarx » Mon Apr 29, 2013 2:59 am

You are not reading your dictionary. Look up "the keysDown" function.

To modify your earlier script a bit:

Code: Select all

on keyDown theKey
   if the keysDown = 32 then put true into sScrolling
          pass keydown
end keyDown
Craig Newman

palanolho
Posts: 122
Joined: Sat Apr 27, 2013 11:40 pm

Re: Space Bar

Post by palanolho » Mon Apr 29, 2013 7:45 am

Actually i've read it but thought that the behaviour would be the same...

I'll give it a try. Thank you!!

- Miguel

Post Reply