Going through the axes extensions tutorials for 410 and I'm at the part where I'm adding buttons to my home screen.
I added the addlible AXESLIB button and the button to run the command but I was wondering if I can put both of those commands on both.
I created a 3rd button that runs addlible first sends the enter key and then should call the program via the command line.
What ends up happening is the addlible part works, but in my command line the call program shows up but is never executed.
Here is my onClick code in the button:
FIELDS("CommandLine").setValue("ADDLIBLE AXESDEMO");
SENDKEY(ENV.defaultKey);
var F = FIELDS("CommandLine");
F.setValue("CALL XHRRPGTRN");
SENDKEY(ENV.defaultKey);
Am I missing something or does it just not work like that?
Thanks!
