Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I use VB activeX code in VFP 9?
Message
De
26/07/2011 13:26:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01519230
Message ID:
01519235
Vues:
64
What seems to be a problem?

>I found a wonderful ActiveX HTML editor with an open API: nBit. Developer's license is 74.95 US $.
>
>I am trying to cancel the default action of the right click menu but the sample code to do so is in VB and I can't figure out how to make it work in VFP and the author has no VFP samples or knowledge. Do I need to subclass (?) the event? But how would I do that with a VFP ActiveX control?
>
>Sample VB code from the author:
>Private Sub HTMLed1_MenuClick(MenuItem As String, Cancel As Boolean)
>
>    MsgBox "Menu Clicked : " & MenuItem
>    Cancel = True
>    
>End Sub
>
>Contents of the event I think needs to be altered:
>*** ActiveX Control Event *** MenuClick
>LPARAMETERS menuitem, cancel
>
>Any ideas would be greatly appreciated.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform