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:
01227100
Vues:
16
>>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!"
>
I see. Have you tried to refer to GeometricBounds property as an array, e.g. try to set GeometricBounds[1], etc.?

If this would not work, I'm afraid, you would only be able to assign the first value, "6p"
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform