Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Hotkeys


1123121
 Share

Recommended Posts

here's a method thats rather simple and works, but doesn't let the user remap their keys

it's a little better than robin's reply to every single post with "wait for future origins or rip it from current origins"

in the active form…

```
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)

    Select Case KeyCode   

        Case vbKeyF1
        ' execute code for hotkey

        Case vbKeyF2
        ' execute code for hotkey   

        Case vbKeyF3
    ' execute code for hotkey

        Case vbKeyF4
    ' execute code for hotkey

    End Select

End Sub

```
VB key codes -> http://www.programmershelp.co.uk/keycodes.php

the form's keypreview property must be true.
Link to comment
Share on other sites

@DFA:

> "wait for future origins or rip it from current origins"

Actually this is the first time I've said to wait for a future release. It'll be using the system I designed for SD which will link into the drag & drop inventory and spell system.

There's no point having a hotbar people can't customise.
Link to comment
Share on other sites

  • 3 weeks later...

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
 Share

×
×
  • Create New...