Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP syntax for this VB statement
Message
De
21/05/2007 14:35:10
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01227095
Message ID:
01227406
Vues:
15
>>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.

Doesn't mean they don't exist. Suspend before that command, and assign myTextFrame.GeometricBounds.Item[0] to a variable. Then in command window type the name of that variable, a dot... and see whether Intellisense kicks in. Sometimes Intellisense would show you properties that debugger won't - it seems to read the interface info better.

That would work if it's a collection. If it's an array, it may be VB wrapper on the horizon for real.

Or, alternately - GetInterface() may be a way out. Try to analyze your object in Object Browser (i.e. its interfaces, as defined in the ocx/dll/tlb/whatever you have) and see whether there's an interface to this that you can use.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform