Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Objects
Divers
Thread ID:
00529114
Message ID:
00529114
Vues:
41
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform