Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP syntax for this VB statement
Message
From
21/05/2007 13:35:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01227095
Message ID:
01227366
Views:
21
>>>>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"
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform