Jump to content
Server Maintenance This Week. ×

Access to Tab Control inside a Tab Control


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

Recommended Posts

I have Tab Control #1... and then I have Tab Control #2 embedded in the 4th tab of Tab Control #1

I have named the 4th tab of Control 1, WebTab4

On Tab Control #2 (embedded in Tab 4 of Tab Control #1), I have two tabs.

I call them WebTab4a and WebTab4b, respectively.

When I try to perform script step "Go To Object" to WebTab4, it works perfectly.

When I try to perform script step "Go To Object: to WebTab4b, it fails with and Error 116 which is "Layout Object Missing".

This happens regardless of whether or not I go to WebTab4 before, or not at all, prior to that script step.

Any ideas?

The environment is FM Server 12.

Thanks,

Link to comment
Share on other sites

Thanks for the encouragement. I am going to chalk this one up to one of those nice little undocumented features.

I corrected it by:

1. Moving the problem Tab Control out of the anchor tab control

2. Moving the fields out of the problem Tab Control

3. Deleting the problem Tab Control

4. Creating a new Tab Control

5. Moving the fields into the new Tab Control

6. Moving the new Tab Control back to the anchor Tab Control

Everything works just fine now.

I had originally created the problem tab control by copying the anchor and then changing the object names. Maybe that somehow was the problem.

Anyway.... sometimes, delete and start over seems to be the best solution :laugh2:

Link to comment
Share on other sites

This sounds to me like the child tab object wasn't "attached" to the parent tab object yet. In FM12, on Windows, I noticed that if you copy and paste any object into any parent object (like a tab control or portal), the child object isn't associated with the parent until I move it again after copying. So, I've gotten into the habit of copy, paste, position as you want, move with arrow keys one click left, then one click right (or up/down).

Link to comment
Share on other sites

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