Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining Methods in Classes for Objects Added at Runtime
Message
De
18/02/2006 15:26:25
 
 
À
17/02/2006 17:38:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01096949
Message ID:
01097342
Vues:
23
Dragan,

>What do you mean here? What Windows event do you need? button.click() is an event that >will be caught by bindevent(), and it doesn't matter whether the click was raiseevent()>ed, or whether someone really clicked the button.

I was referring to the redundancy of raising events using RaiseEvent() that are already exposed through the Windows event model, aware that BindEvent() can bind to them as well. I used .Click() only as an example.

>As for reacting to Windows events... I think there's a way to do that in VFP9, but >haven't had the time to try it out, and don't remember how it's done.

Yes, it can be done quite easily with just a little bit of study. I have already done it successfully. If you subscribe to FoxTalk 2.0, you'll find two great articles on the subject.

Eric
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform