Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP equivalent of VB
Message
De
06/03/2006 12:54:01
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
06/03/2006 12:34:34
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01101755
Message ID:
01101760
Vues:
9
Hi Todd,

>Somewhere I saw the VFP equivalent of the following VB code, but can not find it now.
>Private TYPE xxx
>  x1 AS LONG
>  x2 AS LONG
>  y1 AS LONG
>  y2 AS LONG
>END TYPE
>I think it was a webpage somewhere. Anyone have an idea for me?
>Thank you.

Try it:
Define Class myType as Custom
   x1 = 0
   x2 = 0
   y1 = 0
   y2 = 0
EndDefine
But, it's a class 8-D . But you can to do:
   loMyType = CreateObjet("myType")
   loMyType.x1 = 10.5
Good luck!
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform