how to do this?

Posted on 1998-02-13
Last Modified: 2010-04-04
how do i check if any MDI Child forms are present in my
master MDI Form? i want to do this because i want
to disable some speed buttons when there are no MDI child forms in my master MDI form..
Question by:superboy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

julio011597 earned 10 total points
ID: 1359179
As you should create your child forms only when needed, you should also keep, say, an array of flags to keep track of which child form is currently existing or not.

Author Comment

ID: 1359180
how to do that?
can u give me some sample code?

Expert Comment

ID: 1359181
I won't give full code for 10 points; have you got some particular problem?

Author Comment

ID: 1359182
i solve this problem already but i can't delete this question
from the forum...thanx anyway..


Expert Comment

ID: 1359183
Ok, good work.

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question