Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - This.Parent
Message
 
À
03/03/1997 10:57:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022664
Message ID:
00022667
Vues:
33
>What does "This.Parent" refer too?

Taken form the VFP Help on Parent Object Reference:

-----
References the container object of a control. Not available at design time; read-only at run time.

Syntax

Control.Parent

Remarks

Use the Parent keyword to access the properties, methods, or controls of a control’s container object. You can also use the Parent object reference to access the container object of a page or form.

The Parent keyword is useful in an application in which you pass controls as arguments. For example, you can pass a control variable to a general procedure and use the Parent object reference to access its container object.

You can also use the Parent object reference for objects in a control class that have been placed on an unknown form.

---

This = this object.
Parent = the immediate container object.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform