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:
01227395
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"
>>
>>Mike tried it as well
>>Re: VFP syntax for this VB statement Thread #1227095 Message #1227113
>
>So he did, I missed it. Maybe that GeometricBounds property has an .Item[] property that can use the 0 based syntax.
>
myTextFrame.GeometricBounds.Item[0]...
I tried that also it does not have any further properties.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform