TMSFMXGrid Query

I want to programmatically set the value of a grid cell while it is in edit mode.

The scenario is that I have a barcode scanner & I want to either input the cell contents from the keyboard, or by scanning a barcode.

The barcode scanner is NOT of the type that produces keyboard input. It is either a serial (RS232) or USB device.

I get the barcode in an event, but I'm not sure how I should set the cell contents during the edit.

I enable the scanner input in the OnGetCellEditorProperties event, and disable it in OnCellEditDone.

Any suggestions ? 
Please ignore the above stupid question !
Was overthinking. Just needed to use Grid.CellEdit.Text := value;