Closing MDI children in an MDI application

Closing MDI children in an MDI application

I have made an MDI application with many MDI children, but when I try to close an MDI child it becomes minimized. How can I avoid this and close the window?

To completely close an MDI child form, do the following:

  1. Display your child form in the IDE, making sure you’re selecting theform itself, not one of its components (hint: look at the ObjectInspector to see if the currently displayed component is actually the formitself).

  2. Click on the Events tabs of the Object Inspector.

  3. Double-click on the OnClose event to open a handler for it.

  4. Type the following in the begin and end block:
 Action := caFree;
Save your file, compile your project and run. Now, when you close the form,it will truly close.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several