Sub Main(oEv)
xray oEv
End Sub
KeyChar char "A"
KeyCode integer 512
KeyFunc integer 0
Modifiers integer 1
Source object
FJCC wrote:I made a text box and set it to trigger a macro on "key down". The macro expected to be passed a parameter oEv. Here is the Macro
So oEv.KeyChar is one way to find out what key was pressed.
Users browsing this forum: No registered users and 4 guests