help !!!

  • Thread starter Thread starter Sneldon Gaustav
  • Start date Start date
S

Sneldon Gaustav

bonjour

how I do close all active children forms in parent?

Pardon j'nais parle pas bein englais
 
Sneldon Gaustav said:
bonjour

how I do close all active children forms in parent?

Only one form can be active. It is returned by the ActiveMdiChild property.
To close all children, have a look at the MdiChildren property.
 
* "Sneldon Gaustav said:
how I do close all active children forms in parent?

There can be only a single active child form in the parent. Untested
(place inside the MDI container form):

\\\
Dim f As Form
For Each f In Me.MdiChildren()
f.Close()
Next f
///
 
Voila !

Dim f As Form
For Each f In Me.MdiChildren()
Me.ActiveMdiChild.Close()
Next f

merci mes amis

Salut
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top