Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More help translating VB code into VFP code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00519289
Message ID:
00519318
Vues:
18
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform