| None. |
|
Opens the standard font picker and returns a font handle, or 0 on cancel. The dialog lists the installed screen fonts with size, bold and italic options, starting from the standard UI font. The result is an ordinary Blitz font handle - exactly what LoadFont returns - so you can hand it straight to SetGadgetFont or SetTextAreaFont for gadgets, or to SetFont for 2D text on a canvas. font=RequestFont() If font Then SetTextAreaFont notes,font Always check for 0 before using the handle - cancelling returns no font. Like the other requesters the dialog is modal, owned by your active GUI window, and posts begin/end-modal events ($2004/$2005) to the shared event queue. See also: SetGadgetFont, SetTextAreaFont, RequestColor, LoadFont, SetFont. |