Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB syntax to VFW syntax
Message
De
20/10/1998 14:32:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00148448
Message ID:
00148591
Vues:
29
Thank you very much. The syntax worked out to be
ox.selection.insert(xldown)



>Robert,
>
>It looks from your VB code that Shift is a named argument for the Shift method. VFP can't use named arguments so you have to put it in the right place in the method call:
>
>ox.Rows("1:3").select
>ox.Selection.Insert( [optional argument commas go here] xlDown )
>
>>Rows("1:3").select
>>Selection.Insert Shift:=xldown
>>
>>I tried:
>>ox.rows("1:3").select
>>ox.selection.insert.shift(xldown)
>>
>>The rows are inserted in to the worksheet but I get a Foxpro error telling me:
>>Member INSERT does not evaluate to an object.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform