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 - Show more from this author
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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: