The following code that works in Sap Business One 10.0 Desktop [Add-on-on-premise], we use CharPressed to capture the ASCII of the key that is pressed and thus identify the TAB