Card Placer

by Daniel Smith

A card windows point of origin is it’s parent window’s top/left content area and once a card is open the parent window’s size cannot be retrieved, which makes positioning card windows cumbersome.

FileMaker’s Adjust Window [Resize to Fit] step only constrain’s the card to the screen. This module will keep the card window within the content area of the parent, which is useful when a card window should allow scrolling.

This module can also assist with placing a card relative to a named layout object. This is uefull when you want a card to open directly below a button the user clicked.

Co-created with Joshua Willing

Download Module

or view it on GitHub

 

4 responses to “Card Placer”

  1. Ben says:

    This is a really useful module for working with card windows. Thank you. Unfortunately it doesn’t see to work properly if the parent window is on a second monitor to the left f the main monitor. I will try and investigate this further – I guess it is due to negative numbers. Have you found this problem? My users usually have 2 monitors and I can’t control how they are set up, so for me it needs to work on all monitors, whatever the arrangement to be useful.

  2. Daniel Smith says:

    Thanks for pointing that out; I hadn’t noticed it yet. On my system it looks like the only part that fails is the window was too far to the left only when placing the card window relative to an object. Is that what you experienced as well? If not, can you click “Run Tests” and take a video of the the window while it runs through the tests? That should give me the info I need to at least know where it fails for you.

  3. Ben says:

    The new version has fixed the issue. All good now. Thank you Dan 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *