IKDeviceBrowserPanel.SetPrompt
------------------------------

Sets prompt text.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImageCapture](component_ImageCapture.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "IKDeviceBrowserPanel.SetPrompt"; Text ) 

**MBS**( **"IKDeviceBrowserPanel.SetPrompt";** /\* Sets prompt text. \*/  
**$Text**) /\* The new text.e.g. "Please select an item:" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The new text. | "Please select an item:" |

### Result

Returns OK or error.

### Description

Sets prompt text.  
This text is shown on the top of the dialog over the listbox.  
### Examples

Set prompt:

 Set Variable \[$r ; Value:MBS ( "IKDeviceBrowserPanel.SetPrompt"; "Please choose scanner:" )\]  
### See also

- [IKDeviceBrowserPanel.GetHeight](IKDeviceBrowserPanelGetHeight.md)
- [IKDeviceBrowserPanel.GetMode](IKDeviceBrowserPanelGetMode.md)
- [IKDeviceBrowserPanel.GetPrompt](IKDeviceBrowserPanelGetPrompt.md)
- [IKDeviceBrowserPanel.GetWidth](IKDeviceBrowserPanelGetWidth.md)
- [IKDeviceBrowserPanel.Reset](IKDeviceBrowserPanelReset.md)
- [IKDeviceBrowserPanel.SetHeight](IKDeviceBrowserPanelSetHeight.md)
- [IKDeviceBrowserPanel.SetMode](IKDeviceBrowserPanelSetMode.md)
- [IKDeviceBrowserPanel.SetTrigger](IKDeviceBrowserPanelSetTrigger.md)
- [IKDeviceBrowserPanel.SetWidth](IKDeviceBrowserPanelSetWidth.md)
- [IKDeviceBrowserPanel.Show](IKDeviceBrowserPanelShow.md)

### Example Databases

- [Mac only/ImageCapture/ImageCapture Dialogs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImageCapture/ImageCapture%20Dialogs.shtml#1ScriptAnchor_)

This function is free to use.

Created 7th November 2016 , last changed 7th November 2016

  
[IKDeviceBrowserPanel.SetMode](IKDeviceBrowserPanelSetMode.md) - [IKDeviceBrowserPanel.SetSelectButtonLabel](IKDeviceBrowserPanelSetSelectButtonLabel.md)

[HTML Version](IKDeviceBrowserPanelSetPrompt.shtml)