Thread Options Pascal adding F = Enter

In pascal I need to make a enter key button so F can = Enter key. Does anyone know how I would do that?

Basically when the user types F or something it will be the enter button. Does anyone know how to do that ?

Thanks in advance.