[RESOLVED] Help with events
I have trapped the KeyDown event for my program. It detects the keypress properly. What I'd like to do after that is go and refresh the screen, a function called drawGame. The problem is that the keypress function is in frmgame.vb and the drawGame funciton is in clsGameEngine.vb, and the one can't see the other.
Once I've clicked on the screen, the updates I've set in motion work; what I'd like to have is a function similar to the mouseclick, but one which triggers off the pc clock, i.e., refreshing every two seconds or so.
However it does it, it MUST call back to the drawGame function; what I'm unsure of is how to get there from here. Can anyone help?
Re: [RESOLVED] Help with events
Also should note that this is apparently referring to dot net rather than VB6
Re: [RESOLVED] Help with events
Please reread forum rules and then correct your post using correct code Tags BTW