Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EventHandler Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00798103
Message ID:
00798123
Vues:
19
Crystal probably screwed up the interface. When I was working on the COM integration chapter for the book, I found that Crystal did not properly code the events for the RDC. Calvin Hsia confirmed this for me. My guess is they did the same for the viewer.

>Actually, Craig, you're just the person to ask. Here's the whole
>of what I'm trying to do:
>
>
>oForm.AddObject("MyControl", "oleControl", "CRViewer9.CRViewer.9.2")
>
>oEventSet = CREATEOBJECT("CrystalEvents")
>=EVENTHANDLER(oForm.MyControl, oEventSet)
>
>
>I'm adding a Crystal Viewer control to a container at run-time. This works
>very well for me, and I'm able to build it into a VFP DLL and use it for
>reporting.
>
>All was working well until I tried to plug into the events. I dragged the
>_ICRViewerEvents node from the Object Browser Events for the CRViewer9Lib
>into a prg, called the class "CrystalEvents", and tried the above.
>
>Any thoughts?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform