Friday, October 12, 2007

How to create programming in the Exit command

How to create programming in the Exit command

To create programming in the Exit command

Step 1

To create programming in the Exit command, the first thing you need to do is to left click the mouse button and then you’re at .the Exit command.

Step 2

Next, it will display a code editor window and you need to enter the programming in the window.

Step 3

Now, you need to do the following for the Programming:

  1. procedure TForm1.Exit1Click(Sender: TObject);
  2. begin
  3. Close;
  4. end;
  5. end.

This command is used to close the form.

No comments: