Jump to content

[Resolved] accelerator keys and function call problem


Recommended Posts

I'm probably missing something stupid easy, but not sure what.

Below is just 1 piece of my accelerator array:

"{NUMPAD1}", "_activate_tab_1"

...they press numpad 1 and it should call _activate_tab_1() function...correct?

so here is _activate_tab_1 function:

Func _activate_tab_1()
_GUICtrlTab_SetCurFocus($tabHotkeys, 1)
EndFunc

Which I know this code works well as I call 1 for tab 0 to make sure it's selected correctly when the program launchs.

But when I run the program, I hit numpad key 1, nothing.

Thoughts?

I checked the windows reserved keys and didn't see anything noting numpad1 being reserved.

Not sure why the function won't launch.

Edited by xeroTechnologiesLLC
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...