utils.fontpicker

Invokes the Windows standard "font picker" dialog box

Prototype

wanted_font = utils.fontpicker (name, size, colour)

Description

This invokes the Windows standard "font picker" dialog box, which lets you choose a font from those installed on your system.

wanted_font = utils.fontpicker (name, size, colour)
All arguments are optional.

Returns nil if dialog dismissed, or the chosen font details (see below) if not.

If not dismissed, the font details are returned as a table, with the following entries:

Lua functions

Topics