[General lang] how to call a parent

Andreas Jung lists at andreas-jung.com
Sun Jun 15 12:40:07 EDT 2003


Do you mean the class or the base classes of an object??
-aj

--On Sonntag, 15. Juni 2003 16:18 Uhr +0000 John Fabiani 
<jfabiani at yolo.com> wrote:

> I'm a newbie to the Python world but not programming.  In the Visual
> Foxpro world we have the concept of ?parent?.   I normally use  it to set
> properties of a custom control as in ?parent.background.color = blue?.
> The parent in this case is a container.  In the VFP world we have
> ?thisform, this, and parent?  and all class methods are run unless
> overwritten by the child class.  Anyway, I'd know how to call the parent
> of an object.  BTW if I'm all wrong with this idea would someone explain
> why!
>
> TIA
> John
> --
> John Fabiani
> --
> http://mail.python.org/mailman/listinfo/python-list









More information about the Python-list mailing list