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:
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