Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call Cancel method of ActiveX
Message
De
11/05/2019 14:06:17
 
 
À
11/05/2019 13:59:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01668547
Message ID:
01668548
Vues:
54
I may be wrong in this case, but I have seen many automation cases where you must pass a parameter, even if the the parameter value isn't important by itself. Try
upt.Cancel(.T.)
>Visual Studio Object Explorer shows that upt.ocx has Cancel method (image1).
>Visual FoxPro properties do not show this methid (image2)
>
>upt.Cancel() throws error
>
>Property Cancel is not a method or event (image3)
>
>?upt.Cancel() thows error
>
>Invalid subscript reference.
>
>Other methods of this control can called OK.
>Maybe name Cancel is used by FoxPro internally so that method with same name cannot called.
>
>How to call ActiveX Cancel method from FoxPro. I can provide this upt and test VFP code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform