Platforms to show: All Mac Windows Linux Cross-Platform
WindowsFontDialogMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Fonts | MBS Win Plugin | 17.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Creates a Font dialog box that enables the user to choose attributes for a logical font. These attributes include a font family and associated font style, a point size, effects (underline, strikeout, and text color), and a script (or character set).
see also
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646914(v=vs.85).aspx
- 8 events
- event Apply
- event BoundsChanged
- event BoundsChanging
- event GotFocus
- event Hide
- event Init
- event LostFocus
- event Show
- 30 properties
- property Bold as Boolean
- property CurrentFont as WindowsFontFamilyMBS
- property DialogHandle as Integer
- property Effects as Boolean
- property FontName as String
- property FontType as Integer
- property ForceFontExist as Boolean
- property Height as Integer
- property Italic as Boolean
- property LastError as Integer
- property LimitSize as Boolean
- property MaxSize as Integer
- property MinSize as Integer
- property NoFontSimulations as Boolean
- property NoInitialFaceSelection as Boolean
- property NoInitialSizeSelection as Boolean
- property NoInitialStyleSelection as Boolean
- property NoVectorFonts as Boolean
- property NoVerticalFonts as Boolean
- property OnlyFixedPitchFonts as Boolean
- property OnlyTrueTypeFonts as Boolean
- property Parent as Variant
- property ScalableFontsOnly as Boolean
- property ShowApply as Boolean
- property ShowInactiveFonts as Boolean
- property Size as Double
- property Strikethrough as Boolean
- property TextColor as Color
- property Underline as Boolean
- property Weight as Integer
- 4 methods
- method ChooseFont as Boolean
- method CloseDialog
- method Query
- method Update
- 6 constants
Font Types
Constant | Value | Description |
---|---|---|
FontTypeBold | &h100 |
The font weight is bold. |
FontTypeItalic | &h200 |
The italic font attribute is set. |
FontTypePrinter | &h4000 |
The font is a printer font. |
FontTypeRegular | &h400 |
The font weight is normal. |
FontTypeScreen | &h2000 |
The font is a screen font. |
FontTypeSimulator | &h8000 |
The font is simulated by the graphics device interface (GDI). |
This class has no sub classes.
Blog Entries
- MBS Xojo Plugins, version 21.6pr3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 17.3
- MBS Xojo Plugins, version 17.3pr5
Xojo Developer Magazine
Videos
- Presentation from Munich conference about MBS Plugins.
- Presentation from London conference about MBS Plugins.
Release notes
- Version 22.0
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
- Version 17.3
- Added WindowsFontDialogMBS class.
Some examples using this class:
Some related classes:
- class DirectShowVideoWindowMBS
- class OpenDialogMBS
- class WindowsBlueToothSelectDeviceDialogMBS
- class WindowsFileCopyMBS
- class WindowsFontFamilyMBS
- class WindowsPageSetupDialogMBS
- class WindowsPreviewHandlerMBS
- class WindowsPrintDialogMBS
- class WindowsShortCutMBS
- class WindowsStoreContextMBS
The items on this page are in the following plugins: MBS Win Plugin.
WindowsFolderChangeMBS - WindowsFontFamilyMBS
