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

Declaration
property CloseFirst: Boolean; // default False  

Description
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.