>>>>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"