Platforms to show: All Mac Windows Linux Cross-Platform
WinPreviewControlMBS control
See also desktop control: DesktopWinPreviewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Windows | MBS Win Plugin | 23.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Used to show PDF documents on Windows using the built-in preview handler on Windows 10 and newer.
Can also be used to use other built-in preview handlers on Windows by setting classID.
Since the control is handled by Windows, the key and mouse events are not expected to work.
Available on Windows 10 and newer.
Use QLPreviewViewControlMBS or PDFViewControlMBS for macOS to show previews and QLPreviewControllerMBS or PDFViewIOSControlMBS for iOS.
- 13 events
- event Close
- event Closing
- event Configure
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event Open
- event Opening
- 3 properties
- property classID as String
- property Lasterror as Integer
- property LasterrorString as String
- 3 methods
Some examples using this control:
Blog Entries
- News from the MBS Xojo Plugins Version 23.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.3
- PDF Viewer controls for iOS
- PDF Viewer control for Windows
- MBS Xojo Plugins, version 23.3pr2
Xojo Developer Magazine
Release notes
- Version 23.3
- Added WinPreviewControlMBS control as a simple PDF file viewer for Windows.
The items on this page are in the following plugins: MBS Win Plugin.
WebView2ControlMBS - WKWebViewControlMBS