SizeMask ( Text ; IdealSize ; Increment ; CharSpace )
Mask text to insure it fits in a given space
Average rating: 4.2 (29 votes) Log in to vote
|Peter Vinogradov - Show more from this author|
(in a 2 point font)
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Useful particularly for form outputs where you want text to conform to certain width without breaking to a new line. Notes:
IdealSize - should be specified in the font point size you want most masked items to appear.
Increment - specify how much to shrink the font by when text runs over the specified width. A lower "Increment" will trigger more drops in font size, but makes optimum use of space and the drops will be less radical.
CharSpace - specifies the width you are trying to constrain to, expressed in number of characters.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.