Hello,
I have found a problem with the designer scripts that I don't quite understand. To simplify the problem I can create a screen with two buttons. One named Left button and the other Right button for example. I place them left on left and right on right. next I open a designer script and move the left to where the right one was and the right to where the left was. This is because in a particular program I needed to swap two buttons but in another configuration wanted them as they were.
The problem is that when the program runs the buttons swap but the OnClick event for the Left button now fires the event for the Right one and vise versa. It seems that the buttons were moved by the designer script but the click events are still being directed the original buttons that was in each location when the button events were created. (before creating the designer script)
Is this the expected behavior?
Thanks,
Louis
I have found a problem with the designer scripts that I don't quite understand. To simplify the problem I can create a screen with two buttons. One named Left button and the other Right button for example. I place them left on left and right on right. next I open a designer script and move the left to where the right one was and the right to where the left was. This is because in a particular program I needed to swap two buttons but in another configuration wanted them as they were.
The problem is that when the program runs the buttons swap but the OnClick event for the Left button now fires the event for the Right one and vise versa. It seems that the buttons were moved by the designer script but the click events are still being directed the original buttons that was in each location when the button events were created. (before creating the designer script)
Is this the expected behavior?
Thanks,
Louis