onlyone CloseFirst property
Return to Introduction  Previous page  Next page
Applies to
acOnlyOne component.  

property CloseFirst: Boolean; // default False  

The CloseFirst property used to close first application instance on the startup of second instance.  
Set CloseFirst property to True, and your application will "kick" previous program instances on startup.  

See also
CloseSecond and SwitchToFirst properties;  
CloseFirstInstance method;  
OnAlreadyExist event.