Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More help translating VB code into VFP code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00519289
Message ID:
00519318
Views:
17
>I have limited Visual Basic knowledge. How would this code look in Visusal FoxPro? This code is to display the status of a fax control I have on a form and shows the status of the fax control during the sending of a fax.
>
>Here is the VB code:
>
>*** ActiveX Control Event ***
>LPARAMETERS pstatobj
>Private Sub FaxManJr1_Status(ByVal pStatObj As FaxmanJrCtl.IfaxStatusObj)
>THISFORM.cStatus.Value = pStatObj.CurrentStatusDesc
>
>
>Thanks for the help. I will keep working on my own translation, but you might be able to save me some time.

Provided that the passed object plays well with VFP, just remove the "Private Sub" line which is part of the VB event declaration.
Previous
Reply
Map
View

Click here to load this message in the networking platform