FontRequester()

Syntax

Result = FontRequester(FontName$, FontSize, Flags)

Description

Open the standard requester to choose a font. If the user cancel the requester, the return value is 0, else it's 1. 'FontName$' and 'FontSize' can be used to set the default font. 'Flags' aren't supported yet, and must be 0 (for future compatibility). The commands SelectedFontColor(), SelectedFontName() and SelectedFontSize() can be used after a successful call to get the needed informations about the selected font.

Supported OS

Windows, AmigaOS, Linux

Requester - Index