Jump to content
Sign in to follow this  
DucViet321

GUISetAccelerators keep taking Hotkey from child GUI

Recommended Posts

DucViet321

Hi I'm have code: main GUI with

Dim $hGUI_AccelTable[4][2] = [["a", $Button1],["b", $Button2],["c", $Button3],["d", $Button4]
GUISetAccelerators($hGUI_AccelTable)

and the child GUI.

But everytime I try to type in the input of the the child GUI. The main GUI wont let me press A, B,C or D

How do I use the second GUI but not disable the Main?


$Money = ControlGetMoney(@Life,"People","Pocket4")If $Money Then $Rich = TrueElse $Risk = True _RunAwayFromPolice("Fastest")EndIf

Share this post


Link to post
Share on other sites
DucViet321

Oops, I figure out :P

GUISetAccelerators($hGUI_AccelTable, $hGUI) 

$Money = ControlGetMoney(@Life,"People","Pocket4")If $Money Then $Rich = TrueElse $Risk = True _RunAwayFromPolice("Fastest")EndIf

Share this post


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
Sign in to follow this  

×