shtplus
Messages postés2Date d'inscriptionmardi 8 juin 2004StatutMembreDernière intervention16 décembre 2009
-
16 déc. 2009 à 12:54
shtplus
Messages postés2Date d'inscriptionmardi 8 juin 2004StatutMembreDernière intervention16 décembre 2009
-
16 déc. 2009 à 13:34
Bonjour à tous, j'ai fais un usercontrol avec des feuilles property, tous fonctionne bien mais
losrque je fais des changements l'evenement WriteProperties ne fonctionne pas toujours.
Renfield
Messages postés17287Date d'inscriptionmercredi 2 janvier 2002StatutModérateurDernière intervention27 septembre 202174 16 déc. 2009 à 13:20
pense a indiquer a VB que ta propriété a été modifiée :
PropertyChanged "Caption"
basiquement :
Public Property Get Caption As String: Caption = msCaption : End Property
Public Property Get Caption ( Byref Value As String)
If msCaption <> Value then
msCaption = Value
Refresh
PropertyChanged "Caption"
End If
End Property