MightyData

FileMaker and WordPress Consultants

  • Company
    • About
    • Contact
    • Team
    • Artists
  • Services
    • Consulting
    • Development
    • Our Process
    • Coaching
    • Training
  • Results
    • Customers
    • Success Stories
    • Testimonials
  • Blog

Calculations for Custom Dialogs and Tab Names

January 15, 2014 by Darren Burgess Leave a Comment

FileMaker users and developers should note the addition of calculated Custom Dialog buttons and Tab Panel names as one of the new features of FileMaker 13.

While these are relatively small changes, we are pleased to see FileMaker continuing to expand the incorporation of the calc dialog throughout the FileMaker development environment.

Here is example as implemented in the FileMaker Server 13 sample file that comes installed with FileMaker Server.

Calculation for tab name

Customize by Language

This is great news for helping developers create language-localized solutions. In particular, calculated tab panel labels no longer need to be overlaid on the panel, reducing layout maintenance. In this case, tab panel names are now calculated, the values drawn from a table of translated labels in multiple languages. The sample file checks the application language on start-up and sets a global field that drives the connection to all of the tab panel, field and button labels.

I made a quick modification to the sample file that allows the user to change the language, updating all of the labels on the fly, just to illustrate the point:

Field labels in Japanese language

Custom Dialog button name definition also got the benefit of the calculation dialog.  Note in this case I am using a field, the Project Name, as the calculation for the button in the dialog.  This is a simplistic example, but illustrates that the dialog is aware of the table occurrence context when it is generated (and also has access to table occurrences related to such):

Calculation for button name

One final note regarding the buttons on the Custom Dialog:  They are still limited in size and will not display text beyond 11 or so characters.

Filed Under: Calculations Tagged With: FileMaker 13

Leave a Reply Cancel reply

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

Let’s get started on your project.

It will be more fun than you think.

Get in Touch

  • Company
  • Services
  • Results
  • Blog

Copyright © 2023 · Parallax Pro Theme on Genesis Framework · WordPress · Log in