To create a form that can not be in close-in Delphi is very easy. following steps:
1. Open up your Delphi application then create a menu by clicking File> New> Application. (Here I use Delphi 7).
1. Open up your Delphi application then create a menu by clicking File> New> Application. (Here I use Delphi 7).
2. Then select the object form. In the object inspector select events and then double-click OnClose.

3. Then write the following code
Action := caNone;
5. Later in the run by pressing F9. Behold, the form can not be in close because of the close of the application functionality is not enabled. :-D
No comments:
Post a Comment