|
FontDialog | |
Name$ = FontDialog(Name$, Size, [Style]) | |
Parameters: Name$=the initially selected font Size=the initially selected size [Style]=the initially selected style |
|
Returns: Name$=the seleted font name, Size=the selected size, Style=the selected style |
|
FontDialog opens a Font Dialog. The user can choose a font from all installed and font, specify the size and the style (normal, bold, italic). Returns the name of the selected font (or a NULL string if the user has cancelled the dialog), the size and the style. * Name$ = the initially selected font name * Size = the initially selected font size * Style = the initially selected font style. This is optional an default to 0 (normal). There are the following prefdefined constants for the font style FD_FontStyle_Normal = 0 FD_FontStyle_Bold = 256 FD_FontStyle_Italic = 512 FD_FontStyle_BoldItalic = 512 + 256 FACTS: * FontDialog is not asynchronous, so the PlayBasic application will halt while the dialog is open.
|
Related Info: | : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |