fgl_getkeylabel() passes a single argument that relates to the dynamic toolbar name/ identifier. Utilising this function will return the label associated to that particular key label. The syntax is outlined, as follows:
CALL fgl_getkeylabel(keyname)
keyname relates to the logical key name specified such as F2, and returns the corresponding key label as a text string.