Function keys within grids

Hi everyone,

Is there a way to capture function keys (F1, F2, etc.) while being in a grid's cell in entry mode?

I can only get EVENT-TYPE = MSG-FINISH-ENTRY (16393) and KEY-STATUS = W-EVENT (96) everytime I click F2, which are the same values I get when I hit Enter, so I don't have any means to recognize a function key within a cell.

 

Thanks.