Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Property is not a method or event error message
I am implementing a barcode label printing system using Tharo's EasyLabel program, which has a nice set of ActiveX controls specifically for this purpose. All is well and good until I try to create a routine to clear a print job. By Tharo's documentation, there is a Cancel() method assocated with the printer control that is what I need to use, however when my program hits a line calling this cancel() method. VFP pops up the error "Property CANCEL is not a method or event" error. Nothing is misspelled, I've gone over and over it, and besides, it even appears in Intellisense when I reference the control. It DOES work in VB (naturally). The only thing I can come up with is that CANCEL is a reserved word in VFP and that potentially is causing the problem. Any better ideas?
Randy
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement