Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent as _ACCESS
Message
 
 
À
31/10/2008 14:25:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01358739
Message ID:
01358755
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
Frank,

It works fine in VFP9 SP1 and SP2. I guess it's time to upgrade. :)

>Why does this not work?
>VFP 8 SP1
>
>CLEAR 
>oRef = CREATEOBJECT("voo")
>?oRef.Kid.TAG
>
>
>DEFINE CLASS voo AS CUSTOM
>  ADD OBJECT oChild AS CUSTOM;
>      WITH name = "Kid", TAG= "KidTAG"
>  PROCEDURE INIT
>    BINDEVENT(THIS.Kid, "TAG" , THIS , "MYTAG",3)
>  ENDPROC
>  PROCEDURE MYTAG
>    RETURN "ParentTag"
>  ENDPROC
>ENDDEFINE
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform