OVH Cloud OVH Cloud

form chargée???

2 réponses
Avatar
TouTenN
Bonjour

Comment savoir si une form (mdichild) est chargée

merci Guy



--

2 réponses

Avatar
François Picalausa
"TouTenN" <gelapplication[Nospam]@tiscali.fr> a écrit dans le message
de news:bqq2v1$74e$
Bonjour

Comment savoir si une form (mdichild) est chargée

merci Guy



Bonjour/soir,

Essaye ceci:

Dim AForm As Form

For Each AForm In Forms
If TypeName(AForm) = "frmMDIChild" Then
MsgBox "trouvée!"
End If
Next AForm

For Each AForm In Forms
If TypeOf AForm Is frmMDIChild Then
MsgBox "trouvée!"
End If
Next AForm

--
François Picalausa (MVP VB)
FAQ VB : http://faq.vb.free.fr
MSDN : http://msdn.microsoft.com
Avatar
TouTenN
Je vais essayé

Merci

--

"François Picalausa" a écrit dans le message news:

"TouTenN" <gelapplication[Nospam]@tiscali.fr> a écrit dans le message
de news:bqq2v1$74e$
> Bonjour
>
> Comment savoir si une form (mdichild) est chargée
>
> merci Guy

Bonjour/soir,

Essaye ceci:

Dim AForm As Form

For Each AForm In Forms
If TypeName(AForm) = "frmMDIChild" Then
MsgBox "trouvée!"
End If
Next AForm

For Each AForm In Forms
If TypeOf AForm Is frmMDIChild Then
MsgBox "trouvée!"
End If
Next AForm

--
François Picalausa (MVP VB)
FAQ VB : http://faq.vb.free.fr
MSDN : http://msdn.microsoft.com