With this command, you can pre-configure each of the 4 programmable buttons on the application panel.


SETCFG("SETAUTOMATBUTTON", 1,"Your first programming button","1.cpp");


Here:

There may be a variable in place of the unit.

The value is from 1 to 4. This is the nopka number.

Next in quotes is a hint that will appear when the mouse hovers over this button.

Next in quotes is the name of the program that will be launched when this button is pressed.

String variables can be used to set these values.

The files specified here must be located in the MyPrg directory.