Brian Dunning's FileMaker Custom Functions

xWOFormat ( Text, Size, Font, Margin, Backg, Align, Colour, Weight )

Controls text format within a WebViewer Object

  Average rating: 4.0 (37 votes) Log in to vote

Nick Lightbody   Nick Lightbody
Deskspace Systems Limited
http://deskspace.com

Share on Facebook Share on Twitter

  Sample input:
The Output is html which informs the WebViewer Object
  Sample output:
[relevant html string]

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Setup some global fields in your configuration area for each of the parameters and whenever you use a webviewer insert the cf with the parameters calling the relevant values. What you would have originally have inserted as the WO controlling string is now inserted as the Text parameter.

Thus, for example, if you want to use the WO to display

[Record x of y ] on a layout

insert "Record " & Get(RecordNumber) & " of " & Get(FoundCount) as the Text parameter and play with the other parameters in your configuration area 'til it looks right.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.