No of files currently open

Does anyone know how to determine the number of occurences of a single MDI child form in Borland C++ Builder 3.0

Any help much appreciated.
Who is Participating?
jbodomConnect With a Mentor Commented:
The property MDIChildCount will give you the number of occurrences of children.  This is assuming that you've correctly made the parent form property FormStyle fsMDIForm.  Here's some example code that closes all the MDI children of Form1.

void __fastcall TForm1::Button1Click(TObject *Sender)

  for(int i = 0; i < MDIChildCount; i++)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.