Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Dialog.SetMode
Sets the dialog style.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dialog | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Dialog.SetMode"; Mode ) More
Parameters
Parameter | Description | Example |
---|---|---|
Mode | The new mode. | "Warning" |
Result
Returns OK or error.
Description
Sets the dialog style.Indicates the severity level of the alert.
Allowed modes on Mac: Warning, Information, Critical, Error.
Allowed modes on Windows: Question, Hand, Stop, Error, Information, Warning or Exclamation.
So the cross platform options are Information, Error and Warning.
New in 7.1 for Mac: Note and Stop.
See also
Release notes
- Version 14.2
- Improved Dialog.SetMode function for Note and Stop mode to use the given icon instead of the application icon.
- Version 7.1
- Fixed dialog functions so Dialog.SetButtons and Dialog.SetMode with empty text doesn't delete custom buttons.
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 8th March 2017
