Jump to content

Recommended Posts

Can the buttons up, down, left and right be set as hotkeys ?

I would really like to use them in the creation of a simple GUI menu system im working on

Neither of the following will work for me !

HotKeySet("{DOWN}", "")

HotKeySet("down", "")
Link to post
Share on other sites

Those commands will erase the current settings. You need to specify a function to be run on keypress.


HotKeySet ( "key" [, "function"] )



The key(s) to use as the hotkey. Same format as Send().


[optional] The name of the function to call when the key is pressed. Leave blank to unset a previous hotkey.

*** Matt @ MPCS

EDIT: Added more of the definition from the help file.

Edited by Matt @ MPCS
Link to post
Share on other sites

You should just test before you ask, try:

HotKeySet("{down}", "msg")
Func msg()
MsgBox(0, "It worked", "So it does work!")
While 1

Does it work?

Edited by the_lord_mephy
My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...