Skip to Content
0
Aug 02, 2022 at 10:44 AM

When "F1" Button pressed then open XWZ Form ( SDK)

24 Views

Hello together,

I am trying to make some shortcuts and need to catch the KeyPress event in specific Forms.

I am stucked with how can I get Buttons like F1- F12 when they have been pressed?

here is the code where i need to catch special Keys pressed like mentioned before

   private void key(SAPbouiCOM.SBOItemEventArg pVal)
        {
            //throw new System.NotImplementedException();
            
            if(pVal.CharPressed == ????) 
                doSOMETHING 

        }