Detlef,
You may also consider of using a Xbrowse as setup Dialog/Window designer.
All coordinates can be filled/change at runtime and this way the recompile of prg etc.. is not needed.
Button, Position, action, visuals, can be in the Xbrowse and in the program a loop while create the dialog.