Saturday, November 21, 2009

Highlight Active Portal record with Conditional Formatting

Here's a demonstration file I created for highlighting active portal record using conditional formatting.


The attached example is a picture browser with a simple navigation system, and a preview portal. (I know it's ugly but it's just a technique demonstration ;)

I could have used a container field to highlight the active portal element, but conditional formatting makes our life simpler :)

I created a an empty (well, actually it has a space char in it) text element, resized it to th
e portal element size, then applied the following conditional formatting to it:


(Set Formulat to: If the related ID equals to the Current id, then apply a Fill color)


After this I put this text under the portal picture field, and send it backward.

I attached the demo file which you can download to analyze the technique.

You can download it here. (right click, save as)

Be sure to check out: http://crm.fm as well :)

The material on this document is offered as is. There is no representation or warranty, expressed or implied, nor does any other contributor to this post. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.