Dialog.GetKeyEquivalent
-----------------------

Queries the key equivalent for a button.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dialog](component_Dialog.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Dialog.GetKeyEquivalent"; Index ) 

**MBS**( **"Dialog.GetKeyEquivalent";** /\* Queries the key equivalent for a button. \*/  
**$Index**) /\* The index of the button.  
From 0 to 9.e.g. 4 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | The index of the button.   From 0 to 9. | 4 |

### Result

Returns text or error.

### Description

Queries the key equivalent for a button.  
### See also

- [Dialog.SetKeyEquivalent](DialogSetKeyEquivalent.md)

### Release notes

- **Version 15.0**
    - Added [Dialog.SetKeyEquivalent](https://www.mbsplugins.eu/DialogSetKeyEquivalent.shtml) and [Dialog.GetKeyEquivalent](https://www.mbsplugins.eu/DialogGetKeyEquivalent.shtml) functions for macOS to control key equivalents for dialog buttons.

### Blog Entries

- [New in MBS FileMaker Plugin 15.0](https://www.mbsplugins.de/archive/2025-01-21/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.6pr1](https://www.mbsplugins.de/archive/2024-12-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st November 2024 , last changed 21st November 2024

  
[Dialog.GetInformativeText](DialogGetInformativeText.md) - [Dialog.GetLastResult](DialogGetLastResult.md)

[HTML Version](DialogGetKeyEquivalent.shtml)