Bonjour,

Je cherche à identifier les labels d'un formulaire pour pouvoir changer le texte (faire un multi-langue) voici mon code (de tête) :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
Dim ctrl as controls
 
For Each ctrl In Me
   If TypeOf ctrl Is Label Then 
       MsgBox "Label"
   End If
Next
Mais cela ne fonctionne pas ; si je change Label par Timer (car il y a un timer dans mon Formulaire, ça fonctionne, il est bien identifier, alors pourquoi pas la Label ???)