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
 
Back
Top