mardi 15 août 2017

Intercepting pressing enter in VBA Attachmate

I work on aplication with VBA Attachmate Reflection and i would like to intercept presssing enter (controlkeycode_transmit). I know that i can write a macro, assigned to enter, which doesn't send controlkeycode_transmit, if some conditions are not fullfilled - but it isnt satysfying solution.

Is there and event, in IBMScreen, which can handle it (like sub IbmScreen_BeforeSendKeys)? I found that in IBMScreen is function IBMScreen_BeforeSendControlKeyCode, but i don't know how (and if) i should use it.





Aucun commentaire:

Enregistrer un commentaire