Nicolas H.
Messages postés36Date d'inscriptionvendredi 19 octobre 2001StatutMembreDernière intervention26 mai 2016
-
12 déc. 2002 à 21:35
TheSaib
Messages postés2367Date d'inscriptionmardi 17 avril 2001StatutMembreDernière intervention26 décembre 2007
-
12 déc. 2002 à 23:36
Salut,
Voila mon probl.
j'ai un module dans un ActiveX et une des fonctions qui se trouve dans ce module doit ecrire sur ma form soit UserControl1 mais y me fait tj une erreur.
Je sais donc pas ecrire sur ma form avec cette ligne UserControl1.Label1.caption = "1" par exemple avec cette exemple le soft plante et je sais pas comment ecrire sur ma form.
TheSaib
Messages postés2367Date d'inscriptionmardi 17 avril 2001StatutMembreDernière intervention26 décembre 200723 12 déc. 2002 à 23:36
c normal
dans ton OCX met çà :
Public Property Get Caption() As Variant
Caption = monlabel.caption
End Property
Public Property Let SetTheCaption(ByVal str As Variant)
If mCtlT = ctProgressBar Then
If IsNumeric(RHS) = False Then Exit Property
If (str< 0) Or (str> 100) Then Exit Property
End If
monlabel.Caption = str
Refresh
End Property