Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP syntax for this VB statement
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01227095
Message ID:
01227102
Views:
21
>>What is obj? Was it created with CREATEOBJECT() command before? My point is that array in VB defines an array, so the property should be an array property.
>
>it is Adobe InDesing CS3
>
>myInDesign = CreateObject("InDesign.Application.CS3")
>myDocument = myInDesign.Documents.Add
>myTextFrame = myDocument.Pages.Item(1).TextFrames.Add
>myTextFrame.GeometricBounds = Array("6p", "6p", "24p", "24p")
>myTextFrame.Contents = "Hello World!"
>
Try:
DECLARE myArray[4]
myArray[1] = "6p"
myArray[2] = "6p"
myArray[3] = "24p"
myArray[4] = "24p"
myTextFrame.GeometricBounds = myArray
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform