Skip to main content
guest
Join | Help | Sign In
Liberty BASIC Community Wiki Home
guest| Join | Help | Sign In
Liberty BASIC Community Wiki
  • Wiki Home
  • Recent Changes
  • Pages and Files
  • Members
  • Home
    • Liberty BASIC FAQ
    • Contests
    • Tutorials
    • Science
    • Shared Code
    • Tips
    • DLLs
    • PublicDomainSprites
    • Member Pages
    • Links
    • Sandbox

Inkey - Keyboard Events

Edit 0 1 …
  • 0 Tags
    • No tags
  • Notify
  • RSS
  • Backlinks
  • Source
  • Print
  • Export (PDF)
Older Version Newer Version

Alyce Alyce Jan 10, 2006

Keyboard events can only be trapped in graphics windows and graphicbox controls. Inkey$ is only valid in graphics windows and graphicbox controls. Look in the helpfile category, "Language Syntax and Usage" and the sub-category "Graphics." You'll find a topic called "Reading Mouse Events and Keystrokes." The state of the keyboard can be determined in any type of window by using the API call GetAsyncKeyState. Look for the helpfile category "Liberty BASIC Help" for the topic, "Using virtual key constants with Inkey$." In the same category, read "Using Inkey$." Note that "Inkey$" is case sensitive.
Help · About · Pricing · Privacy · Terms · Support · Upgrade
Contributions to https://basic.wikispaces.com/ are licensed under a Creative Commons Attribution Share-Alike 2.5 License. Creative Commons Attribution Share-Alike 2.5 License
Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world
Turn off "Getting Started"
  1. Home
  2. ...
Loading...