DialogModifications.Install
---------------------------

Installs feature which can rename dialog elements in FileMaker.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DialogModifications](component_DialogModifications.md) | [4.3](newinversion43.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "DialogModifications.Install" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Installs feature which can rename dialog elements in FileMaker.  
Those functions are to rename text in a FileMaker dialogs. So before you run an operation which shows one of the built in dialogs, you can install, clear and set the items to replace. After the dialog finished you should call [DialogModifications.Clear](DialogModificationsClear.md) function. This makes sure you don't replace text when you don't expect this.  
See also [DialogModifications.Uninstall](DialogModificationsUninstall.md).  
  
Added iOS support for MBS Plugin in version 12.2.  
### Examples

Install with setup:

 MBS ( "DialogModifications.Install" )  
MBS ( "[DialogModifications.Clear](DialogModificationsClear.md)" )  
MBS ( "[DialogModifications.Set](DialogModificationsSet.md)"; "Import", "Import of Contacts" )  
Change stop script dialog on iOS:

 # Install it   
Set Variable \[ $r ; Value: MBS ( "DialogModifications.Install" ) \]   
  
\# Reset all replacements   
Set Variable \[ $r ; Value: MBS ( "[DialogModifications.Clear](DialogModificationsClear.md)" ) \]   
  
\# Set our replacements   
Set Variable \[ $r ; Value: MBS ( "[DialogModifications.Set](DialogModificationsSet.md)"; "Yes"; "Continue" ) \]   
Set Variable \[ $r ; Value: MBS ( "[DialogModifications.Set](DialogModificationsSet.md)"; "No"; "Stop" ) \]   
Set Variable \[ $r ; Value: MBS ( "[DialogModifications.Set](DialogModificationsSet.md)"; "Stop execution of the current script?"; "Do you like to stop the export?" ) \]   
  
\# do some important work   
Set Variable \[ $endTime ; Value: Get(CurrentTimestamp)+10 \]   
Loop  
 Set Field \[ Sharing::counter ; $index \]   
   
 # next  
 Exit Loop If \[ Get(CurrentTimestamp)&gt; $endTime \]   
End Loop  
  
\# stop for next script   
Set Variable \[ $r ; Value: MBS ( "[DialogModifications.Clear](DialogModificationsClear.md)" ) \]  
### See also

- [DialogModifications.Clear](DialogModificationsClear.md)
- [DialogModifications.List](DialogModificationsList.md)
- [DialogModifications.Set](DialogModificationsSet.md)
- [DialogModifications.Uninstall](DialogModificationsUninstall.md)

This function checks for a license.

Created 18th August 2014 , last changed 20th April 2022

  
[DialogModifications.Clear](DialogModificationsClear.md) - [DialogModifications.List](DialogModificationsList.md)

[HTML Version](DialogModificationsInstall.shtml)