Hello Bryce,
First understand that this function will be supported for a while, so you are not forced to replace every call right now.
A smarter way to define a label for a key / action is to use Action Defaults with the TEXT attribute:
https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/ActionDefaults.htmlThis new way is not as dynamic as the built-in function:
- The text is defined once for the whole program ( 4ad file) or for a given form (ACTION DEFAULTS section in .per).
- Setting the text to an empty string will not hide the default view (button in action frame), as with fgl_dialog_setkeylabel().
If you need to change the label dynamically as you describe, you can use the "OM" API to change the text attribute of the Action node. Maybe we are missing a DIALOG.setActionText() method here.
Seb