[i] Set application as a single task program
Source position: MUIClass.Base.pas line 268
published property TMUIApplication.SingleTask : Boolean |
When set to TRUE, MUI will refuse to create more than one application object.
In this case, the already running application gets its OnDoubleStart Event. You can listen to this and take appropriate actions, e.g. pop up a requester.
Examples for single task applications are the system preferences program. It doesn't make sense for them to run more than once.