Any codes for mouse manipulation? I'd created a game using form, works fine. Now i am trying to control the game using only keyboard instead of mouse. I'd try class module for it and the result is unsatisfactory. The application is easy, just use up, down, left and right key from the keyboard with an Enter key for any action or "click". Any ideas on it? Thanks

You need to handle the Key Down event . Set the KeyPreview property of the form to TRUE.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.