Does a form know which open forms are it's child?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

I have a form that i want to automatically close if it is idle after a
certain amount of time.

I can do that with no problem, but on that form there are four others forms
that can be open with button control.
Those form can also have button that can open orthers forms.

Is there a way to close all the child forms automatically with few lines of
code?

I don't want to put the code on each form since there are a lots of form in
this applciation.

Actually the main form close but all the otheres form stay open.

regards,

Pierre



.



Relevant Pages

  • Windows XP Idle Time Logoff?
    ... Does anyone know of a way to have Windows XP log out if the user is ... idle for certain amount of time? ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • lockup
    ... Any ideas on why a Dimension 4300S would freeze up at odd times while idle ... No amount of keyboard or mouse activity will undo ...
    (alt.sys.pc-clone.dell)
  • Re: Advantages v disadvantages of a diesel!!!
    ... Wide Open Throttle ... enough heat from compression to ignite your fuel ... they sound noisy at idle, and on overun and feel harsh and tiring to drive. ... No amount of "modern" JackH) WILL CHANGE THIS! ...
    (uk.rec.cars.modifications)
  • Re: Use Case Level of Detail
    ... That goal efficiently right-sizes the amount of analysis required to write ... tested code. ... Phlip ... Prev by Date: ...
    (comp.object)
  • Re: Pop Quiz
    ... amount to shit and accomplish nothing. ... Prev by Date: ...
    (rec.radio.shortwave)