Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

i have a layout with a tab control set. some fields show up in all tabs.

in a script, i use 'go to field', but i'd like to stay on the currently active tab. but when the script executes, it always switches to the first tab and goes to the field there instead of just staying where it is. probably something simple (?).

thanks,

stefan

Posted (edited)

Go to Field[] goes to the first instance of the field in layout's stack order. If you always go to the same instance of the field, you could move the desired instance backwards;otherwise try using Go to Object[] instead.

Edited by Guest
won't work
Posted

just about... i tried what you suggested, but perhaps didn't explain enough.

the field in question is on all (three) tab panels. all panels are named objects. now, i execute a script which includes go to object [panel_name] and then go to field. so it might go to panel three, but on go to field switches to panel 1 all by itself to go to the field, even though that field *also* exists on panel three. looks like the order of panels is given priority as suggested above by comment.

no big deal - guess i'll just click myself into the required field.

stefan

Posted

Same advice still applies. Name the object and go to object.

Posted

unfortunately same answer applies to, but only for panels other than 1.

say i go to panel one, then to field 1. all is well.

next time i go to panel three, then to field 1. i'm being dumped back to panel one. of course, i could *now* go to panel three with an extra script step, but then the record is exited and i'm no longer inside the field. catch 22.

stefan

Posted

ahhh, name the FIELD, not the PANEL. now i gotcha! yes, that works now. pardon my tunnel vision.

thanks,

stefan

This topic is 5143 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.