Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
WIA.SelectDeviceDialog
Presents the device selection dialog.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WIA | 6.5 | No | Yes | No | No | No |
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
Example Databases
Blog Entries
Release notes
- Version 10.3
- Changed WIA.ImageDialog and WIA.SelectDeviceDialog to call FM.InitMessageFilter internally to avoid running into COM error dialogs.
Created 6th November 2016, last changed 6th November 2016
WIA.Scan - WIA.SetCurrentDevice
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins