Jump to content
Server Maintenance This Week. ×

cursor end up in a unwanted field


This topic is 3218 days old. Please don't post here. Open a new topic instead.

Recommended Posts

LS,
I have quite long script that runs fine. However, after running the script the cursor end up in a field very much to the right. I don't want this to happen.

Which is quite strange as the last script steps have been. Commit record and go to field. In debugger I see al this happening perfectly. However, in a normal client the cursor just goes to that freaking field. I have removed that field, so the cursor just ends up in a different field. 

More info : a script is triggered with the onExitObject trigger after I select a different value from a value list. The field that changes does and the field the cursor ends up in do not have a sequential order in the tab order of the fields of the layouts ( eg. 22 and 34 )

Hope someone has an idea. 

I see this on Mac 10.10.4 with FM13v5 and FM14v1 and Win7 with FM13vx.

Thanks in advance

Link to comment
Share on other sites

The core script is the one that runs through the OnExit?   Remember that OnExit is a "pre-event" so when your script is done, only then does the actual Exit event happen.  I think that is getting in your way.  I would pick another event like OnModify or OnSave.

Link to comment
Share on other sites

This topic is 3218 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.