UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | EditMenu Verbs > editMenu.setFont

editMenu.setFont

Syntax editMenu.setFont (fontname)

Params fontname is a string containing the name of the font as it appears in the Font sub-menu of the Frontier Edit menu.

Action Sets the font of the selected item to the font identified in fontname.

Returns True if a change was made, false otherwise.

Examples edit (@examples.setFontTest)

   » true

Select the first line of text in the editing window. Now type and execute:
editMenu.setFont ("Times")


   » true

Notes Performs the same action as selecting a font from the Font sub-menu of the Frontier Edit menu.

Applied to a word processing text window, this verb affects selected text or, if there is no selection, the next text entered. Applied to an outline or table window, it affects the entire contents of the window.

See Also editMenu.undo

Prev | Next | EditMenu Verbs > editMenu.setFont

Anonymization by Anonymouse.org ~ Adverts
Anonymouse better ad-free, faster and with encryption?
X