Jump to content
Sign in to follow this  
Greg Hains

Going to different tabs via a script.

Recommended Posts

Hi,

I have a tabbed panel with 6 tabs on it - each tab displays different information about the current record. Is there anyway that a script can help me move between tabs?

Greg

Share this post


Link to post
Share on other sites

Use the Object Info floating toolbar to define an Object Name for each tab. Then use the Go to Object[] script step.

Share this post


Link to post
Share on other sites

I define a field TabNav with 10 repetitions. I put one of the reps on each tab panel. Then, in a script I use Go to Field TabNav[repetition I want]. I'm not using 8.5 yet, so you may be able to use Object Names to name each tab.

Share this post


Link to post
Share on other sites

Or simply use "Go to field [x]" where x is a field which appears only within the tab you want to show.

If you don't want the field to be selected, use "go to field [x]" then "commit records/requests".

James

Share this post


Link to post
Share on other sites

I will try this, thankyou.

Thank you all for your responses. I hope I become proficient enough with Filemaker to contribute back to this forum one day.

Greg

Share this post


Link to post
Share on other sites

I understand the Go To Object script but I can't figure out how to name a particular tab within the Object Info Box.

Any suggestions how to do this?

Thanks,

Jarvis

Share this post


Link to post
Share on other sites

That function is not available in v8.

Lee

Share this post


Link to post
Share on other sites

If you're using 8.5:

Open the Object Info window while in Layout mode.

Select the tab by clicking its NAME (the tab itself will then display a box around the name.

Type an identifier into Object Info.

Hope this helps,

Bob Patin

Longterm Solutions

bob@longtermsolutions.com

615-333-6858

http://www.longtermsolutions.com

CONTACT US VIA INSTANT MESSAGING:

AIM or iChat: longterm1954

Yahoo: longterm_solutions

MSN: tech@longtermsolutions.com

ICQ: 159333060

Share this post


Link to post
Share on other sites

They are using 8. Advance, as reflected in their profile.

Lee

Share this post


Link to post
Share on other sites

They are using 8. Advance...

Yes but i believe the reason the suggestions are popping up is this:

This Post:

Client: 8.5 OS: Windows XP

Share this post


Link to post
Share on other sites

you are too cryptic for me, I don't understand your post.

Lee

Share this post


Link to post
Share on other sites

Sigh, I seem to be getting that a lot lately.

Everyone keeps saying "if you are using 8.5"...

Reason being, while the user's profile says that they are using 8.0 Advanced, their first post says that for this particular question they are using FM Pro 8.5. They would have had to deliberately select that as well given that the default options that load for "this post" are what is provided in the users profile.

You suggested that the user was using 8.0 Advanced as a result of their profile and so no 8.5 suggestions should be made... I am simply providing the reasoning as to why others are suggesting possible 8.5 solutions.

Share this post


Link to post
Share on other sites

Check to see whom I was responding to.

Lee

Share this post


Link to post
Share on other sites

Rightio, ah, ignore me then ;) Seems I choose to selectively read sometimes.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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