So you have an enquiry panel?
– displaying data ? for a record?
– add a 2 or 3 byte input field into which users key the optiuon they want to take.
enable f4 on the field to provide a window showing what the options are. You could make it a subfile over a configuration file containing the option, its description, and the program to call if you want it to be future proof.
either way, they key the option, you call the functionality relating to the option.
– be sure to provide some sort of help. Maybe leave the ‘top 10’ function keys working.