[General lang] how to call a parent
lists at andreas-jung.com
Sun Jun 15 18:40:07 CEST 2003
Do you mean the class or the base classes of an object??
--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
> John Fabiani
More information about the Python-list