cipel
Messages postés5Date d'inscriptionvendredi 6 février 2004StatutMembreDernière intervention 3 mars 2004
-
2 mars 2004 à 12:48
cs_starfighter
Messages postés90Date d'inscriptionmardi 18 mars 2003StatutMembreDernière intervention28 février 2005
-
3 mars 2004 à 15:08
salut, j'ai soucis. j'aimerais faire une fonction qui de 1 à 40 remplit des case et les affiche.
voici une partie du code :
Case 11
Form1.NOM11.Caption = nom
Form1.IP11.Caption = ip
Form1.MAC11.Caption = mac
Form1.NOM07.Visible = True
Form1.IP07.Visible = True
Form1.MAC07.Visible = True
Case 12
Form1.NOM12.Caption = nom
Form1.IP12.Caption = ip
Form1.MAC12.Caption = mac
Form1.NOM12.Visible = True
Form1.IP12.Visible = True
Form1.MAC12.Visible = True
et j'aimerais :
for i =1 to n
Form1.NOM(i).Caption = nom
Form1.IP(i).Caption = ip
Form1.MAC(i).Caption = mac
Form1.NOM(i).Visible = True
Form1.IP(i).Visible = True
Form1.MAC(i).Visible = True
cs_starfighter
Messages postés90Date d'inscriptionmardi 18 mars 2003StatutMembreDernière intervention28 février 2005 2 mars 2004 à 15:36
salut,
NOM, IP, MAC son des label? si oui, tu n'a cas rendre NOM en tableau cad :
Label NOM avec propriete Index=0
un autre label NOM avec propriete Index=1
etc...