Filemaker TH325Z/A Fiche technique Page 199

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 198
Chapter 13
|
Text formatting functions 199
Extend
Strikethrough
SmallCaps
Superscript
Subscript
Uppercase
Lowercase
Titlecase
WordUnderline
DoubleUnderline
AllStyles (all available styles)
Examples
TextStyleAdd(“Plaid”;Italic) returns the word Plaid in italics.
TextStyleAdd(FirstName;Bold+Underline) returns Sophie in bold, underlined
text when the FirstName field contains Sophie.
The following calculation removes all styles from the text, then italicizes the entire phrase.
TextStyleAdd(TextStyleAdd(FirstName;Plain);Italic)
The following calculation creates two descriptions of styles, then concatenates two
phrases using these styles. Using the Let function is an effective way to avoid creating a
long and complex TextStyleAdd statement.
Let([TitleStyle=Smallcaps+Titlecase;BodyStyle=Plain];
TextStyleAdd(titleField;titleStyle)&"¶¶" &
TextStyleAdd(bodyField;BodyStyle))
In the following example, you might want to find every occurrence of several words and
change their style. Using the Substitute function combined with the TextStyleAdd
function is a good way to accomplish this goal.
Substitute(ArticleBody;[“Phrase1”;TextStyleAdd(“Phrase 1”;Italic)];[“Phrase
2”;TextStyleAdd(“Phrase 2”;Bold)];)
TextStyleRemove
Format
TextStyleRemove(text;styles)
Parameters
text - any text expression
or text field
styles - any named style from the list of available styles
Vue de la page 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 237 238

Commentaires sur ces manuels

Pas de commentaire