Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I use VB activeX code in VFP 9?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
How do I use VB activeX code in VFP 9?
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:
01519230
Vues:
102
Help,
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.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform