Skip to content

ShowFont Method

Description

Displays the CommonDialog control's Font dialog box.

Syntax

Public Function ShowFont() As Long

Remarks

Before you use the ShowFont method, you must set the Flags property of the CommonDialog control to one of the constants from the CommonDialogFontConstants. If you don't set Flags, a message box is displayed advising you that "There are no fonts installed," and a run-time error occurs.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.