Show ( objectName )
calculates showing layout object based on active field
Average rating: 4.6 (29 votes) Log in to vote
Hisc - Show more from this author
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This function is made for using in "Hide object when", in inspector. The idea is to make as easy as possible to show/hide objects based on the current field. I use to show/hide explanations.
I set one object "Hide" as Show("FieldName") and other as Hide("FieldName"). Then, when the field is not selected, the object with Hide("FieldName") is shown, and, when the field is select, the object with Show("FieldName") is shown. I also use two ScriptTriggers in each field:
- OnObjectEnter: refresh window
- OnObjectExit: commit record + refresh window
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.