August 18, 20169 yr Hello FM Mavens, I am in search of a script solution that would be the equivalent of a "Go to Tab X" in a portal. Filemaker.com has an old example file named EG6145.fp7 which can be downloaded but it does not work in FMPro 15. Any suggestions? Thanks
August 18, 20169 yr Go to Object ? I use this on my standard tabs all the time, to bring focus to the correct tab... Are there tab controls in a portal?
August 18, 20169 yr Author OK it was a bit confusing but I figured it out. A tab has 2 "names", one "name" is defined in the Tab Control Setup, where it is actually the "label" on the tab (see Tab Width/Label Width etc dropdown menu) and the other "name" is defined in the Inspector where it is he name of the label as an object. The 2 have nothing to do with each other and have to be defined separately which is counterintuitive. Thanks for your reply!
August 18, 20169 yr Another wrinkle is that if you use Get(TriggerTargetPanel) you'll get TWO values: the number of the tab, and its object name (the one from the Inspector). So you can't just say Get(TriggerTargetPanel) = "myTabName" ... but instead have to use: GetValue( Get(TriggerTargetPanel) ; 2 ) = "myTabName" http://fmhelp.filemaker.com/fmphelp_14/en/html/func_ref1.32.161.html#1069900
Create an account or sign in to comment