adyf Posted June 28, 2013 Posted June 28, 2013 I have three tabs on a layout with a container field on each tab that has a linked MS word document within it. I'm trying to create a simple script that will open the linked MS word document on the active tab. Each tab has an object name assigned through the inspector. I thought an If [] statement using the Get (activelayoutobjectname) might work followed by Go to field with (select/perform) checked but it doesn't. I'm sure it should be something quite simple.
Fitch Posted June 28, 2013 Posted June 28, 2013 I think what you're looking for is: GetLayoutObjectAttribute( "yourTabObjectName";"isFrontTabPanel" ) 1
adyf Posted June 30, 2013 Author Posted June 30, 2013 I think what you're looking for is: GetLayoutObjectAttribute( "yourTabObjectName";"isFrontTabPanel" ) Thanks Fitch, just the job! I can't find this function though in the list of Get functions or within Filemaker help. Also interested in "isFrontTabPanel", this must be a built in command or something?
bruceR Posted June 30, 2013 Posted June 30, 2013 That's because it isn't a Get( ) function. At first glance it may seem confusing but if you look at the function list in alphabetical order you will see it makes sense: Get( GetLayoutObjectAttribute( http://www.filemaker.com/11help/html/help_func_alpha.html#150774 Attributes for GetLayoutObjectAttribute( are listed here: http://www.filemaker.com/11help/html/func_ref3.33.9.html#1027917 1
adyf Posted June 30, 2013 Author Posted June 30, 2013 That's because it isn't a Get( ) function. At first glance it may seem confusing but if you look at the function list in alphabetical order you will see it makes sense: Get( GetLayoutObjectAttribute( http://www.filemaker.com/11help/html/help_func_alpha.html#150774 Attributes for GetLayoutObjectAttribute( are listed here: http://www.filemaker.com/11help/html/func_ref3.33.9.html#1027917 Thanks for the explanation Bruce, I needed to look more carefully.
Recommended Posts
This topic is 4163 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 accountSign in
Already have an account? Sign in here.
Sign In Now