![]() I was inspired by Fabrice Nordmann's function VisiblePortalRows. If no object inside the portal has an object name, a question mark (?) is returned. If the portal object name is unknown, nothing is returned. The parameter _name for this function is the object name of the portal.īesides the object name for the portal, at least one object in the portal has to have an object name, too. _row.height = GetLayoutObjectAttribute( _object "top" "" 2 ) - GetLayoutObjectAttribute( _object "top" "" 1 )Ĭalculates the total number of visible portal rows (not the number of records shown in these rows). _portal.height = GetLayoutObjectAttribute( _name "bottom" ) - GetLayoutObjectAttribute( _name "top" ) _objects = Substitute( "¨" & _objects & "¨" ) _objects = GetLayoutObjectAttribute( _name "containedObjects" ) The function requires an object name for the portal and at least one other object with name ![]() ![]() Function definition: (Copy & paste into FileMaker's Edit Custom Function window) /*
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |