Hello, New to Genero and 4GL.
Quick question. Could not find answer via search
Trying to add text and comments to existing ON KEY structured code via the ACTION DEFAULTS section of the .per file
Been working well except in one section they are using Control-LETTER key combinations.
So the .4gl code had ON KEY (CONTROL-F)
I am trying to map it in ACTION DEFAULTS like this
ACTION DEFAULTS
ACTION F2 (TEXT="F2 Text", COMMENT="F2 -Comment", ACCELERATOR=F2)
ACTION CONTROL-F (TEXT="Text", COMMENT="CTRL-F - Comment", ACCELERATOR=control-f)
ACTION F8 (TEXT="F8 Text, COMMENT="F8 - Comment", ACCELERATOR=F8)
END
As far as I can Tell the Action "Name" second field needs to match the ON KEY label however the compiler is giving me a syntax error
error:(-6803) A grammatical error has been found at '-', expecting '('.
Any help appreciated on how to get the Control-F in action name to match to the On KEY
Thanks