Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public memvar as type OF CLASS
Message
 
 
À
13/02/2002 16:56:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00619740
Message ID:
00619983
Vues:
18
>I have noticed that you can create a variable as part of a class.
>Such as:
>
>PUBLIC array MyArray[2] AS _form OF ffc\_base
>
>Why would you want to do this?
>Thanks,
>Daniel

There is no reason to specify AS clause for a class property. However you can use strong typing with LOCAL command to allow IntelliSense for that type of object. For Example,
LOCAL oWord AS Word.Application
* As soon as you type 
oWOrd.
*the IntelliSense kicks on 
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform