Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP syntax for this VB statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01227095
Message ID:
01227396
Vues:
15
>>>>>>VB is 0 based for the array. Change your indices from 1...4, to 0...3.
>>>>>
>>>>>You can't in VFP :-) That is why COMARRAY() is used.
>>>>
>>>>
>>>>No, not the VFP array, the VB object property that's expecting an array. I think if you reference it with the 0...3, it would work.
>>>
>>>It's not clear to me what you're suggesting. And I doubt we can change VB object.
>>
>>this:
>>
myTextFrame.GeometricBounds[1] = "6p0"
>>myTextFrame.GeometricBounds[2] = "61p0"
>>myTextFrame.GeometricBounds[3] = "18p0"
>>myTextFrame.GeometricBounds[4] = "62p0"
>>
>>try:
>>
myTextFrame.GeometricBounds[0] = "6p0"
>>myTextFrame.GeometricBounds[1] = "61p0"
>>myTextFrame.GeometricBounds[2] = "18p0"
>>myTextFrame.GeometricBounds[3] = "62p0"
>
>
>At least
>myTextFrame.GeometricBounds[1] = "61p0"
>should work :-)

I get this error
OLE IDispath exception code 30477 from InDesing.exe: Invalid value for set property 'GeometricBounds'.  Expected Array of 4 Units (Doubles or String), but received "6p0"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform