Simulated Keystroke

Hi,

Is there a way in X3 4GL to simulate a CTRL+F4 Keystroke or any other key combination?

Thanks.