Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP syntax for this VB statement
Message
From
21/05/2007 14:35:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01227095
Message ID:
01227406
Views:
24
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform