GetAsyncKeyState Help

Posts 1–7 of 7 · Page 1 of 1
GetAsyncKeyState Help
Code:
Dim hotkey as boolean
hotkey = GetAsyncKeyState(keys.F6)
if hotkey = true then
timer1.enabled=true
The hotkey function should be written in the button code or in the timer code?
Quote Originally Posted by Tozzle View Post
@Takari click the button.
Okay so each hotkey should be in it's button?
Quote Originally Posted by Takari View Post


Okay so each hotkey should be in it's button?
yes dont listen to trolls.
Make 2 timers or do form.keydown
...
Quote Originally Posted by qddW$#%^jtyjtyj View Post
Make 2 timers or do form.keydown
...
So a timer to start and a timer to stop?
example

you want to do something when user press
a
'enable timer1
form1.load:
timer1.start

timer1.tick:
if get@@@(keys.a) then
trololozilla.appears
end if


might not be 100percent true but..
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us