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?
Button or Image carries over to another menu
Moderator: jeanmichel
Re: Button or Image carries over to another menu
If an extension you added to an screen continues in a different screen, most likely both screens are sharing the same criteria for identification.
Like if you use the name of the program in the corner, let's say menupgm as the identification.
If you want to have one button in one screen but no another, they need to be different screens. you have to identify them differently like using the menu title. Check tutorial for screen identification
Like if you use the name of the program in the corner, let's say menupgm as the identification.
If you want to have one button in one screen but no another, they need to be different screens. you have to identify them differently like using the menu title. Check tutorial for screen identification
Re: Button or Image carries over to another menu
Awesome, I played around with screen identification and managed to separate the screens successfully. much appreciated.