Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optional Parameters
Message
 
 
À
12/06/2002 12:44:37
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00667488
Message ID:
00667545
Vues:
15
>Does anyone know how to make parameters in a VFP COM object method optional so that when I reference the method outside of VFP I do not have to pass all of the parameters? When I try and reference the method from within a VB app, I receive an error stating that the parameters are not optional.

In VFP7 you can use PEMName_COMATTRIB array for COM classes defined in code to specify type library attributes for the PEMName property or method, including the number of optional parameters. See help for details.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform