|
FontDialog | |
Name$,Size, Flags$ = FontDialog(Name$, Size, Flags) | |
Parameters: Name$ = The Name of the pre-selected font in the dialog Size = The size of pre-selected font Flags = The style flags for the pre-selected font |
|
Returns: Name$,Size, Flags$ = Returns the Name$, size and display flags of the users selection. |
|
FontDialog opens a windows font selection dialog. The dialog allows the user to pick and from the available Windows True Type & Windows Bitmap fonts on this computer. Not all fonts can be loaded though into PB though. * The FontDialog returns three values. The Font Name you selected, it's size and it's display flags. You can use these values when loading the font with LoadFont or LoadNewFont. FACTS: * Use the DialogNotCanceled to query if the user canceled out of this dialog or not. * FontDialog is not asynchronous, so the PlayBasic application will halt while the dialog is open. |
|
Example Source: Download This Example
|
Related Info: | FolderDialog | LoadDialog | SaveDialog : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |