How to detect key down?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to detect key down?

Carl Gundel-2
Hey,
 
In VisualSmalltalk it is easy to detect whether the Alt, Shift, or Ctrl keys are down.  For example:
 
  Notifier isAltKeyDown
 
Is there a built-in way to do this in VA Smalltalk?
 
Thanks,
 
-Carl Gundel

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: How to detect key down?

Carl Gundel-2
Oh, I found it.
 
    VisualAgeAssist isAltKeyDown
 
Sorry, should've looked a bit harder for it, but hopefully someone will benefit from my post.  :-)
 
Thanks,
 
-Carl

On Friday, May 3, 2013 7:58:46 AM UTC-4, Carl Gundel wrote:
Hey,
 
In VisualSmalltalk it is easy to detect whether the Alt, Shift, or Ctrl keys are down.  For example:
 
  Notifier isAltKeyDown
 
Is there a built-in way to do this in VA Smalltalk?
 
Thanks,
 
-Carl Gundel

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.