onlyone SwitchToFirst
Return to Introduction  Previous page  Next page
Applies to
acOnlyOne component.  

Declaration
property SwitchToFirst: Boolean; // default True  

Description
If SwitchToFirst property is True and another copy of the same application is detected, acOnlyOne will switch the tasks to previous program instance.  

Note
You don't need to change value of this property at run-time. acOnlyOne use this property on program startup only.  

See also
CloseFirst and CloseSecond properties;  
OnAlreadyExist event.