Look at the link, simply creating controls that are added to the program via the clipboard
I think it's easy to rewrite to create syntax used by FMG
https://hmgforum.com/viewtopic.php?f=5&t=6122
The program must be written, manually or generated in some way
I prefer to write code because I have full control, in this case PRG, a simple editor is enough
IDE is a good tool but once you go with it then you have to finish it and you don't like it
This example is not good (for beginer), I mean it is not complete as FMG cannot be standalone, it must be followed by PRG
Note : The clipper program is much shorter because many things do not need to be defined
HMG program is a little longer, much needs to be defined, window and other controls
so a program with a table of several fields with all functions has 500+ lines of code,
it takes a long time to write from the beginning, what I don't need is a waste of time