FileMaker Function Get(WindowMode)

BOB KELLEY of Scarpetta Group takes on object visibility by combining it with the Get(WindowMode) function from FileMaker’s built in functions:

This week we want to review Get(WindowMode) that was introduced in FileMaker Pro 6.0 or earlier. As you know it returns 0 for Browse Mode, 1 for Find Mode, 2 for Preview Mode, 3 if printing is in progress and 4 (FileMaker Pro Advanced) if evaluating the function from the Data Viewer and the current window is in Layout Mode. For our purposes today we will look at the returns for Browse Mode and Find Mode.

FileMaker Pro 13 introduced the exciting new feature “Hiding or showing layout objects based on a specific condition or calculation”. This new feature coupled with Get(WindowMode) Function has given a great new tool.

The end result:  Continue and Cancel buttons that appear when needed, and disappear otherwise.  A nice trick, especially when screen real estate is at a premium. And don’t forget the design and User Interface considerations.  A cleaner look and buttons that appear only when needed go a long way towards a better and more intuitive interface.

More…FileMaker Function Get(WindowMode).

Liked Liked
Need FileMaker Development Help? Or to purchase FileMaker Software?
Contact FM Pro Gurus for help