Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WIA.SelectDeviceDialog
Presents the device selection dialog.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WIA | 6.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WIA.SelectDeviceDialog"; DeviceType ) More
Parameters
Parameter | Description | Example |
---|---|---|
DeviceType | Which type of device to be selected. Can be Default, Scanner or DigitalCamera. |
"Default" |
Result
Returns OK or error.
Description
Presents the device selection dialog.Examples
Select a device:
Set Variable [$r; Value:MBS("WIA.SelectDeviceDialog"; "Scanner")]
If [$r = "OK"]
Show Custom Dialog ["Select Device Dialog Result"; "DeviceID: " & MBS("WIA.GetCurrentDevice") & ¶ & "Name: " & MBS("WIA.DevicePropertyValue"; ""; "Nam…]
Else
Show Custom Dialog ["Select Device Dialog Result"; $r]
End If
See also
Release notes
- Version 10.3
- Changed WIA.ImageDialog and WIA.SelectDeviceDialog to call FM.InitMessageFilter internally to avoid running into COM error dialogs.
Example Databases
Blog Entries
- Seven things to add to your FileMaker solution today with MBS Plugin
- MBS FileMaker Plugin, version 10.3pr1
This function checks for a license.
Created 6th November 2016, last changed 6th November 2016