Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call Cancel method of ActiveX
Message
From
11/05/2019 14:06:17
 
 
To
11/05/2019 13:59:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01668547
Message ID:
01668548
Views:
53
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform