Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

WIA.SelectDeviceDialog

Presents the device selection dialog.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WIA 6.5 No Yes No No No

MBS( "WIA.SelectDeviceDialog"; DeviceType )

Parameters

Parameter Description Example value
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


WIA.Scan   -   WIA.SetCurrentDevice

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins