4 Replies Latest reply on Jul 12, 2012 3:24 PM by philmodjunk

    GetLayoutObjectAttribute ( x ; "bounds" )

    alex_zueiv

      Summary

      GetLayoutObjectAttribute ( x ; "bounds" )

      Product

      FileMaker Pro

      Version

      12

      Operating system version

      Mac/Win

      Description of the issue

      When I first load a layout, the function GetLayoutObjectAttribute ( "myObject" ; "bounds" ) returns none if myObject appears on a hidden tab panel. Same for left, right, top, bottom, width, height, startPoint, and endPoint. While "rotation" as well as all other object attributes being returned properly.

      Steps to reproduce the problem

      Create a tab control with two panels. Put some object on the second panel and give it an object name. Switch to browse mode and evaluate the function GetLayoutObjectAttribute ( ; "bounds" ).

      Expected result

      Bounds of the object.

      Actual result

      None.

      Workaround

      Click on every tab panel before evaluating bounds of any object.