Button or Image carries over to another menu
Posted: 12 Sep 2023, 19:50
Currently changed a caption option into a button/image and created an on click event:
var F = FIELDS("OptionCL");
F.setValue("3");
SENDKEY("Enter");
visible = false;
var F = FIELDS("opt3");
F.setProperty("visible", false);
F.refresh();
Reason I am trying to hide it, is because the image remains on the screen when entering a new menu, is there a work around for this? Perhaps a way to lock it to a certain menu code?
var F = FIELDS("OptionCL");
F.setValue("3");
SENDKEY("Enter");
visible = false;
var F = FIELDS("opt3");
F.setProperty("visible", false);
F.refresh();
Reason I am trying to hide it, is because the image remains on the screen when entering a new menu, is there a work around for this? Perhaps a way to lock it to a certain menu code?