Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Objects
Miscellaneous
Thread ID:
00529114
Message ID:
00529114
Views:
40
I have a grid subclass that has a custom method. This method received an object as a parameter.

loObject=THISFORM.grdList.COLUMNx.HEADER1 (x is the column number)

LPARAMETERS loObject

Inside the method I used:

WITH loObject
...
...
ENDWITH

What I notice is that if I look the value inside the With/Endwith for:

.parent.columncount gives me 1 as a result

and

loObject.parent.columncount gives me the correct result (x value in the loObject assign above)

Why is this happening?
Francisko Paternoster
fpater@patercorp.com
Next
Reply
Map
View

Click here to load this message in the networking platform