Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a control's caption changed
Message
 
À
20/09/2002 13:37:41
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00702852
Message ID:
00703329
Vues:
17
I never knew about that method. Why did they not include it as a regular?
I got it to work, thanks!

>It will work the same and making your own Access/Assign methods. Just create a method with the property name and _assign after it.
>
>
>>How will it fire everytime the caption changes?
>>
>>>Add a method called "caption_assign" to the control. You will have to make a subclass of the control (or add this method to current class). This method will fire everytime the caption of that control is assigned a value.
>>>
>>>>Is there an event/property that indicates the action of a label/cmdbutton's caption undergoing a change? for example you can test if something like the mouse cursor moved over the said control hence 'mousemove'.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform