Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent to a property
Message
De
08/04/2013 20:32:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01570434
Message ID:
01570446
Vues:
54
>>>Hi everybody,
>>>I used BindEvent to bind certain event from some object to another event usually on the form's object.
>>>Right now I have the following situation.
>>>
>>>I have a mover class. This class has Updated property which is set from the button's code and may be in other places.
>>>
>>>I need to be able to link that property (when it's set to true) to the form's InfoChanged method.
>>>I am not sure how to do this.
>>>Thanks a lot in advance.
>>
>>
>>Of course you can use ProgrammaticEvent() and signal it directly. To use BindEvent(), you can signal off the change of that property.
>>
>>See the syntax in this example: Message ID:1158912
>
>Thanks, I have it working already, but thanks for this interesting message reference.


I misunderstood. As a workaround, from the BindEvent() you can test the property and then simply call your InfoChanged method manually. Or, you can add a separate BindEvent() which is designed to only signal InfoChanged.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform