Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Can I assign other keyboard keys to my program?
Old
Hijiji
Guest
 
Status:
Posts: n/a
Default Can I assign other keyboard keys to my program? - 09-21-2005, 12:51 PM

I'm trying to impliment the space bar in my program to perform an action. any clues on how to do this?
   
Reply With Quote
Old
kingsamses
Guest
 
Status:
Posts: n/a
Default 09-21-2005, 03:07 PM

In the 'Events' box at the top-right corner of the window, select 'Create New Event', then 'When a key is typed', and a new event will appear. You can then select what key must be pressed to activate this event, and what method to run when the event is activated.
   
Reply With Quote
Old
Ezcash
Guest
 
Status:
Posts: n/a
Talking 04-10-2008, 10:55 PM

Quote:
Originally Posted by Hijiji View Post
I'm trying to impliment the space bar in my program to perform an action. any clues on how to do this?
Im sorry i dont know? lolololololololololololololol i a clueless:D
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 04-11-2008, 12:33 AM

Quote:
Originally Posted by Hijiji View Post
I'm trying to impliment the space bar in my program to perform an action. any clues on how to do this?
Assign an event handler to the space bar just like you assign it to any other key.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.