Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report objects events
Message
De
26/05/2003 11:49:21
Franco Felosi
Acut Servizi Srl
Brescia, Italie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Report objects events
Divers
Thread ID:
00792835
Message ID:
00792835
Vues:
57
Hi all.
Following the instructions of the book CRYSDEV by Craig Berntson, I have subclassed the Crystal report viewer control adding property and methods.
The visualization function correctly but methods and events do not work.

Here the code of clicked event of the form control oleCRPreview and the error messages:

*** ActiveX Control Event ***
LPARAMETERS x, y, eventinfo, usedefault && in your sample oVentinfo ???
nPage = this.getCurrentPageNumber
=MESSAGEBOX(npage) && RETURN A RANDOM NUMBER (NEGATIVE ??)
ofields=eventinfo.getfields() && RETURN OLE ERROR 0X8002802B
ofield=ofields.item(1)
=MESSAGEBOX(ofield.name)

where is the problem eventinfo does not seem to be a valid foxpro object ??

thank in advance

franco
francofelosi@acut.it
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform