Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

When a text object has a script attached the Hide Object When calculation may be over-ridden (1 Comment)

$
0
0

Issue report by Malcolm Fitzgerald

Product

FileMaker Pro

Version

13.0v3

Operating system version

Mac OS X 10.9.4

Description of the issue

I created a text object which should hide/reveal based on data conditions. I then added a script to the text object. The calculation box for the object was now empty. Adding a calculation is possible but it will not be used. The original calculation is used to determine hide/show status. At this point there are two "hide object" symbols displayed on the text object which reflected the fact that there are two hide object calculations attached to the object.

Steps to reproduce the problem

create a text object.
apply a formula to hide the object.
attach a script to the text object.
Return to the hide object formula box to see if it is empty or not.
Make a change to the formula.
The text object will display two hide object symbols
Select the text object and detach the script
Return to the hide object formula box to see whether the original formula has returned.

Expected result

I expect that an object should only have one hide calculation. Adding extra attributes to an object, such as attaching a script, should enhance the original attributes, not mask them with a new set of attributes.

Actual result

The text object now had a different "hide object" state.

A change to the calculation in the dialog box wouldn't have any affect. The new calc would be saved but it wouldn't affect the display behaviour. The calc was associated with the button state but the calc associated with the text object was being used. The calc associated with the text object was being used but it was inaccessible. Any formula applied to the button state was not used.

The text object with the attached script will display two "hide object" icons (revealing the ghost in the machine!)

Workaround

detach the script.
Modify the "hide object" calc
attach the script.
do nothing to the "hide object" formula.
save.

Screenshot


Viewing all articles
Browse latest Browse all 3510

Trending Articles