Visual Basic - CERRAR TODOS LOS FORMS CHILD ABIERTOS DE UN MDIFOR

Life is soft - evento anual de software empresarial
 
Vista:

CERRAR TODOS LOS FORMS CHILD ABIERTOS DE UN MDIFOR

Publicado por SISTEMOLOGO (47 intervenciones) el 13/02/2005 20:42:03
ALGUUIEN SABE CÓMO CERRAR/DESCARGAR TODOS LOS FORMULARIOS ABIERTOS QUE SON CHILD DE UN MDIFORM CON SOLO CLICKEAR UN EN COMMAND BUTTON?

GRACIAS..
SALUDOS!!!!!
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:CERRAR TODOS LOS FORMS CHILD ABIERTOS DE UN MDI

Publicado por miguel (1042 intervenciones) el 14/02/2005 16:46:41
Prueba con esto:
Private Sub Command1_Click()
For Each i In Forms
If i.Name <> Me.Name Then Unload i
Next
Unload Me
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE: PREGUNTA RESUELTA

Publicado por SISTEMOLOGO (47 intervenciones) el 16/02/2005 04:51:03
GRACIAS MIGUEL, PROBLEMA RESUELTO, NO MAS PREGUNTAS....
GRACIAS
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar