ProgressDialog.SetFont
----------------------

Sets the label's text sizes.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ProgressDialog](component_ProgressDialog.md) | [2.9](newinversion29.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "ProgressDialog.SetFont"; FontName { ; FontSize } ) 

**MBS**( **"ProgressDialog.SetFont";** /\* Sets the label's text sizes. \*/  
**$FontName**; /\* The font name. If this is empty, the system font is used.e.g. "Arial" \*/   
**$FontSize**) /\* Optional; The font size. If this value is 0, the system font size is used.e.g. 12 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| FontName | The font name. If this is empty, the system font is used. | "Arial" |  |
| FontSize | The font size. If this value is 0, the system font size is used. | 12 | Optional |

### Result

Returns OK on success.

### Description

Sets the label's text sizes.  
### Examples

Set font:

 MBS ( "ProgressDialog.SetFont"; "Comic Sans MS"; 12 )  
### See also

- [ProgressDialog.GetTopText](ProgressDialogGetTopText.md)
- [ProgressDialog.Reset](ProgressDialogReset.md)
- [ProgressDialog.SetCancel](ProgressDialogSetCancel.md)
- [ProgressDialog.SetImage](ProgressDialogSetImage.md)
- [ProgressDialog.SetPosition](ProgressDialogSetPosition.md)
- [Progressdialog.SetScript](ProgressdialogSetScript.md)
- [ProgressDialog.SetTitle](ProgressDialogSetTitle.md)
- [ProgressDialog.SetTopMost](ProgressDialogSetTopMost.md)
- [ProgressDialog.SetTopText](ProgressDialogSetTopText.md)
- [ProgressDialog.Show](ProgressDialogShow.md)

### Blog Entries

- [MBS Plugin Advent calendar: 14 - Progress Dialog](https://www.mbsplugins.de/archive/2023-12-14/MBS_Plugin_Advent_calendar_14_/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 3.2pr2](https://www.mbsplugins.de/archive/2013-02-25/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.9pr9](https://www.mbsplugins.de/archive/2012-09-29/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 15th October 2022

  
[ProgressDialog.SetCancel](ProgressDialogSetCancel.md) - [ProgressDialog.SetImage](ProgressDialogSetImage.md)

[HTML Version](ProgressDialogSetFont.shtml)