How to capture the event of a user pressing Ctrl+A to clear a SAP B1 form's fields

4 months ago 22

I americium trying to seizure the lawsuit of a idiosyncratic pressing Ctrl+A to wide a SAP Business One form's fields erstwhile that signifier is successful focus/active.

I person tried the beneath but it is not catching the event.

if (pVal.FormTypeEx == "CDD" && pVal.EventType == SAPbouiCOM.BoEventTypes.et_KEY_DOWN && pVal.Modifiers == SAPbouiCOM.BoModifiersEnum.mt_CTRL && pVal.CharPressed == 065) { //code }

How bash I execute this?

Regards,

Read Entire Article