TextStyleRemove()

 <  Day Day Up  >  

TextStyleRemove()

Category: Text Formatting

Syntax: TextStyleRemove ( text ; style(s) )

Parameters: text ”any text string or expression that returns a text string; style ”any named style or list of styles separated by a plus (+) sign, or an integer that represents a combination of styles. Named styles should not be placed in quotation marks and cannot be passed as field contents.

Description: Removes the specified styles from formatted text.

Examples:

 

 TextStyleRemove ("word underline"; WordUnderline) 

Removes the word underline formatting from the phrase "word underline" .

 

 TextStyleRemove ("bold italic!" ; bold+italic) 

Removes the bold and italic formatting from the phrase "bold italic!"

 

 TextStyleRemove (sampleText ; AllStyles) 

Removes all formatting styles from the contents of the variable sampleText .

Comments:

Removing AllStyles with TextStyleRemove() accomplished the same thing as adding Plain with TextStyleAdd() .

See TextStyleAdd() for a complete list of styles and a discussion of their numeric equivalents.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net