I just ran across some strange behavior that I believe is not working as it should be. Before I submit a bug report, can somebody please verify for me that this is in fact incorrect behavior.
The problem is when I try to activate a specific form field object that is on a tabbed object, Alpha skips the object I requested and moves to the next object instead. If you look really closely, it does appear to go to the object requested but immediately skips out of that form field object.
I do not experience this behavior when using the .activate() in the OnChange event of a form field object that is NOT on a tabbed object. So this issue seems to be specific to form field objects that are located on a tabbed object.
To duplicate, use the vendors form in AlphaSports. Create an OnChange event for the NAME form field object found on the Details tab, and place the following code:
parentform:address_1.activate()
Now open the form in view mode, mouse to the name field, change the name and press enter. The new field that gets focus is the address_2 and not address_1. If you watch closely enough, you should see it go to address_1 but then immediately move on to the next object on the form that has a tab stop.
I am currently setting focus in my code to go to the object before the one I actually need, so I have a work around. However, this seems to be incorrect behavior to me and before I submit a bug report, I would prefer to get other opinions that this behavior is in fact incorrect.
The problem is when I try to activate a specific form field object that is on a tabbed object, Alpha skips the object I requested and moves to the next object instead. If you look really closely, it does appear to go to the object requested but immediately skips out of that form field object.
I do not experience this behavior when using the .activate() in the OnChange event of a form field object that is NOT on a tabbed object. So this issue seems to be specific to form field objects that are located on a tabbed object.
To duplicate, use the vendors form in AlphaSports. Create an OnChange event for the NAME form field object found on the Details tab, and place the following code:
parentform:address_1.activate()
Now open the form in view mode, mouse to the name field, change the name and press enter. The new field that gets focus is the address_2 and not address_1. If you watch closely enough, you should see it go to address_1 but then immediately move on to the next object on the form that has a tab stop.
I am currently setting focus in my code to go to the object before the one I actually need, so I have a work around. However, this seems to be incorrect behavior to me and before I submit a bug report, I would prefer to get other opinions that this behavior is in fact incorrect.
Comment